From fe3ef5c489e11e0a6d5ff17d53ba2e499805df60 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 15:41:43 +0200 Subject: [PATCH 01/18] chore: ignore local superpowers spec docs Co-Authored-By: Claude Opus 4.8 --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9bda477..e1a8f55 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,6 @@ secrets/* .claude/ -CLAUDE.md \ No newline at end of file +CLAUDE.md + +docs/superpowers/* \ No newline at end of file From a7393207797c401b79ad4564f6ff3f7178b9f644 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 15:42:28 +0200 Subject: [PATCH 02/18] chore: update GLPI High-Level API contract to 2.3.0 Refresh docs/glpi_api_contract.json from 2.2.0 (677 paths) to 2.3.0 (1237 paths). The Knowledgebase surface (10 paths, 5 component schemas) is unchanged; expansions are elsewhere (Assets, Dropdowns, Rule, Setup, Management, Assistance, Project) plus new Inventory/Notifications/Localization groups. Prep for the knowledge base endpoints feature. Co-Authored-By: Claude Opus 4.8 --- docs/glpi_api_contract.json | 225283 ++++++++++++++++++++++++++++----- 1 file changed, 191365 insertions(+), 33918 deletions(-) diff --git a/docs/glpi_api_contract.json b/docs/glpi_api_contract.json index 1dcca60..28ba522 100644 --- a/docs/glpi_api_contract.json +++ b/docs/glpi_api_contract.json @@ -3,7 +3,7 @@ "info": { "title": "GLPI High-Level REST API", "description": "The High-Level REST API documentation shown here is dynamically generated from the core GLPI code and any enabled plugins.\nIf a plugin is not enabled, its routes will not be shown here.", - "version": "2.2.0", + "version": "2.3.0", "license": { "name": "GNU General Public License v3 or later", "url": "https:\/\/www.gnu.org\/licenses\/gpl-3.0.html" @@ -67,6 +67,255 @@ } } }, + "Agent": { + "x-itemtype": "Agent", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "type": { + "type": "object", + "x-itemtype": "AgentType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "AgentType", + "readOnly": true + }, + "deviceid": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity", + "readOnly": true + }, + "is_recursive": { + "type": "boolean", + "readOnly": true + }, + "last_contact": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "version": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "locked": { + "type": "boolean" + }, + "itemtype": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "items_id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "useragent": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "tag": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "port": { + "type": "integer", + "format": "int32" + }, + "remote_address": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "threads_network_discovery": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 128, + "default": 1 + }, + "threads_network_inventory": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 128, + "default": 1 + }, + "timeout_network_discovery": { + "type": "integer", + "format": "int32", + "description": "Timeout in seconds for network discovery operations. If 0, the value in the inventory configuration is used.", + "minimum": 0, + "maximum": 100, + "default": 0 + }, + "timeout_network_inventory": { + "type": "integer", + "format": "int32", + "description": "Timeout in seconds for network inventory operations. If 0, the value in the inventory configuration is used.", + "minimum": 0, + "maximum": 100, + "default": 0 + }, + "use_module_wake_on_lan": { + "type": "boolean", + "readOnly": true + }, + "use_module_computer_inventory": { + "type": "boolean", + "readOnly": true + }, + "use_module_esx_remote_inventory": { + "type": "boolean", + "readOnly": true + }, + "use_module_remote_inventory": { + "type": "boolean", + "readOnly": true + }, + "use_module_network_inventory": { + "type": "boolean", + "readOnly": true + }, + "use_module_network_discovery": { + "type": "boolean", + "readOnly": true + }, + "use_module_package_deployment": { + "type": "boolean", + "readOnly": true + }, + "use_module_collect_data": { + "type": "boolean", + "readOnly": true + } + }, + "description": "Agent" + }, + "AgentType": { + "x-itemtype": "AgentType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + } + }, + "description": "Type d'agent" + }, + "Antivirus": { + "x-itemtype": "ItemAntivirus", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string" + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "manufacturer": { + "type": "object", + "x-itemtype": "Manufacturer", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Manufacturer" + }, + "antivirus_version": { + "type": "string", + "maxLength": 255 + }, + "signature_version": { + "type": "string", + "maxLength": 255 + }, + "is_active": { + "type": "boolean" + }, + "is_deleted": { + "type": "boolean" + }, + "is_up_to_date": { + "type": "boolean" + }, + "is_dynamic": { + "type": "boolean" + }, + "date_expiration": { + "type": "string", + "format": "date-time" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Antivirus" + }, "Appliance": { "type": "object", "x-itemtype": "Appliance", @@ -208,14 +457,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "ApplianceType" }, "group": { "type": "array", @@ -250,10 +499,196 @@ } } } + }, + "environment": { + "type": "object", + "x-itemtype": "ApplianceEnvironment", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "ApplianceEnvironment" + }, + "external_id": { + "type": "string" + }, + "is_helpdesk_visible": { + "type": "boolean", + "default": true } }, "description": "Applicatif" }, + "ApplianceEnvironment": { + "x-itemtype": "ApplianceEnvironment", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + } + }, + "description": "Environnement d'applicatif" + }, + "ApplianceType": { + "x-itemtype": "ApplianceType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "external_id": { + "type": "string", + "maxLength": 255 + } + }, + "description": "Type d'applicatif" + }, + "Appliance_Item": { + "x-itemtype": "Appliance_Item", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "appliance": { + "type": "object", + "x-itemtype": "Appliance", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Appliance" + }, + "itemtype": { + "type": "string" + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "environment": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "ApplianceEnvironment", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "ID" + }, + "name": { + "type": "string" + } + } + } + }, + "domain": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Domain", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "ID" + }, + "name": { + "type": "string" + } + } + } + }, + "location": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Location", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "ID" + }, + "name": { + "type": "string" + } + } + } + }, + "network": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Network", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "ID" + }, + "name": { + "type": "string" + } + } + } + } + }, + "description": "\u00c9l\u00e9ment" + }, "ApprovalStep": { "type": "object", "x-itemtype": "ValidationStep", @@ -282,7 +717,10 @@ "default": 100 } }, - "description": "\u00c9tapes de validation" + "description": "\u00c9tapes de validation", + "required": [ + "name" + ] }, "ApprovalSubstitute": { "x-itemtype": "ValidatorSubstitute", @@ -451,6 +889,172 @@ }, "description": "Source de mise \u00e0 jour" }, + "AutomaticAction": { + "x-itemtype": "CronTask", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 100, + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "frequency": { + "type": "integer", + "description": "Frequency in seconds", + "minimum": 60, + "maximum": 2592000, + "multipleOf": 60 + }, + "param": { + "type": "integer", + "description": "A numeric parameter used by some automatic actions. The meaning of this parameter depends on the action." + }, + "state": { + "type": "integer", + "enum": [ + "01", + 2 + ], + "description": " - 0: Disabled\n - 1: Scheduled\n - 2: Running" + }, + "mode": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "description": " - 1: Internal (Triggered occasionally by page visits)\n - 2: External (External scheduler like cron or Windows Task Scheduler)" + }, + "allow_mode": { + "type": "integer", + "enum": [ + 1, + 2, + 3 + ], + "description": " Some tasks can only be run in certain modes, usually for performance reasons. This field indicates which modes are allowed for this task.\n - 1: Internal (Triggered occasionally by page visits)\n - 2: External (External scheduler like cron or Windows Task Scheduler)\n - 3: Both internal and external", + "readOnly": true + }, + "min_hour": { + "type": "integer", + "description": "Minimum hour of the day when the task can run", + "minimum": 0, + "maximum": 24 + }, + "max_hour": { + "type": "integer", + "description": "Maximum hour of the day when the task can run", + "minimum": 0, + "maximum": 24 + }, + "logs_lifetime": { + "type": "integer", + "description": "Number of days to keep logs for this task. 0 means keep logs forever.", + "minimum": 0, + "maximum": 360 + }, + "last_run": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Action automatique" + }, + "AutomaticActionLog": { + "x-itemtype": "CronTaskLog", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "automatic_action": { + "type": "object", + "x-itemtype": "CronTask", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "AutomaticAction", + "readOnly": true + }, + "previous": { + "type": "object", + "description": "The previous log entry for the same automatic action execution, if any. Typically points to the start log entry.", + "readOnly": true, + "x-itemtype": "CronTaskLog", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + }, + "date": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "state": { + "type": "integer", + "enum": [ + 0, + 1, + 2, + 3 + ], + "description": " - 0: Start\n - 1: Running\n - 2: Stop\n - 3: Error", + "readOnly": true + }, + "elapsed_time": { + "type": "number", + "format": "float", + "description": "Elapsed time in seconds.", + "readOnly": true + }, + "volume": { + "type": "integer", + "description": "A numeric value representing the volume of processed items.", + "readOnly": true + }, + "message": { + "type": "string", + "maxLength": 255, + "readOnly": true + } + }, + "description": "G\u00e9n\u00e9ral" + }, "Battery": { "x-itemtype": "DeviceBattery", "type": "object", @@ -700,8 +1304,8 @@ "description": "Type de batterie" }, "Budget": { - "x-itemtype": "Budget", "type": "object", + "x-itemtype": "Budget", "properties": { "id": { "type": "integer", @@ -745,28 +1349,20 @@ }, "x-full-schema": "Entity" }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, "type": { "type": "object", "x-itemtype": "BudgetType", "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "BudgetType" }, "is_deleted": { "type": "boolean" @@ -781,10 +1377,45 @@ "date_end": { "type": "string", "format": "date" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" } }, "description": "Budget" }, + "BudgetType": { + "x-itemtype": "BudgetType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de budget" + }, "BusinessCriticity": { "type": "object", "x-itemtype": "BusinessCriticity", @@ -1031,6 +1662,47 @@ "date_mod": { "type": "string", "format": "date-time" + }, + "cable_strand": { + "type": "object", + "x-itemtype": "CableStrand", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "CableStrand" + }, + "type": { + "type": "object", + "x-itemtype": "CableType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "CableType" + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" + }, + "color": { + "type": "string", + "pattern": "\/^#([A-Fa-f0-9]{6})$\/" } }, "description": "C\u00e2ble" @@ -1129,9 +1801,97 @@ "date_mod": { "type": "string", "format": "date-time" + }, + "close_times": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "CloseTime", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } + }, + "time_ranges": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "CalendarTimeRange", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } } } }, + "CalendarTimeRange": { + "x-itemtype": "CalendarSegment", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "calendar": { + "type": "object", + "x-itemtype": "Calendar", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Calendar" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "day_of_week": { + "type": "integer", + "minimum": 1, + "maximum": 7 + }, + "begin_time": { + "type": "string", + "format": "time" + }, + "end_time": { + "type": "string", + "format": "time" + } + }, + "description": "Plage horaire" + }, "Camera": { "x-itemtype": "DeviceCamera", "type": "object", @@ -1225,6 +1985,104 @@ }, "description": "Cam\u00e9ra" }, + "CameraImageFormat": { + "x-itemtype": "ImageFormat", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Format d'image" + }, + "CameraImageResolution": { + "x-itemtype": "ImageResolution", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "is_video": { + "type": "boolean", + "default": false + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "R\u00e9solution" + }, "CameraItem": { "x-itemtype": "Item_DeviceCamera", "type": "object", @@ -1493,6 +2351,33 @@ }, "description": "Mod\u00e8le de cartouche" }, + "CartridgeItemType": { + "x-itemtype": "CartridgeItemType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de cartouche" + }, "Case": { "x-itemtype": "DeviceCase", "type": "object", @@ -1866,14 +2751,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "CertificateType" }, "group": { "type": "array", @@ -1908,10 +2793,130 @@ } } } + }, + "template_name": { + "type": "string" + }, + "is_template": { + "type": "boolean" + }, + "dns_name": { + "type": "string" + }, + "dns_suffix": { + "type": "string" + }, + "is_selfsign": { + "type": "boolean" + }, + "date_expiration": { + "type": "string", + "format": "date" + }, + "command": { + "type": "string", + "description": "Certificate generation command used" + }, + "certificate_request": { + "type": "string", + "description": "Certificate request (CSR)" + }, + "certificate_item": { + "type": "string", + "description": "Issued certificate" } }, "description": "Certificat" }, + "CertificateType": { + "x-itemtype": "CertificateType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de certificat" + }, + "Certificate_Item": { + "x-itemtype": "Certificate_Item", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "certificate": { + "type": "object", + "x-itemtype": "Certificate", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Certificate" + }, + "itemtype": { + "type": "string" + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "G\u00e9n\u00e9ral" + }, "Change": { "type": "object", "properties": { @@ -2050,8 +3055,7 @@ }, "resolution_date": { "type": "string", - "format": "date-time", - "readOnly": true + "format": "date-time" }, "date_creation": { "type": "string", @@ -2153,11 +3157,117 @@ }, "x-full-schema": "TeamMember" } + }, + "costs": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "ChangeCost", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } } }, "x-itemtype": "Change", "description": "Changement" }, + "ChangeCost": { + "x-itemtype": "ChangeCost", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "change": { + "type": "object", + "x-itemtype": "Change", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Change" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_begin": { + "type": "string", + "format": "date-time" + }, + "date_end": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "integer", + "format": "int32" + }, + "cost_time": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "cost_fixed": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "cost_material": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "budget": { + "type": "object", + "x-itemtype": "Budget", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Budget" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + } + }, + "description": "Co\u00fbt" + }, "ChangeSatisfaction": { "x-itemtype": "ChangeSatisfaction", "type": "object", @@ -2468,7 +3578,7 @@ 3, 4 ], - "description": "The status of the validation.\n- 0: None\n- 1: Waiting\n- 2: Accepted\n- 3: Refused" + "description": "The status of the validation.\n- 1: None\n- 2: Waiting\n- 3: Accepted\n- 4: Refused" }, "submission_date": { "type": "string", @@ -2749,8 +3859,8 @@ ] }, "Cluster": { - "x-itemtype": "Cluster", "type": "object", + "x-itemtype": "Cluster", "properties": { "id": { "type": "integer", @@ -2808,14 +3918,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "ClusterType" }, "user_tech": { "type": "object", @@ -2907,6 +4017,53 @@ }, "description": "Cluster" }, + "ClusterType": { + "x-itemtype": "ClusterType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de cluster" + }, "CommonAsset": { "type": "object", "properties": { @@ -3203,14 +4360,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "ComputerType" }, "model": { "type": "object", @@ -3218,14 +4375,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "ComputerModel" }, "group": { "type": "array", @@ -3295,10 +4452,143 @@ } }, "x-full-schema": "AutoUpdateSystem" + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" + }, + "is_dynamic": { + "type": "boolean", + "default": false + }, + "ticket_tco": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "last_inventory_update": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "last_boot": { + "type": "string", + "format": "date-time", + "readOnly": true } }, "description": "Ordinateur" }, + "ComputerModel": { + "x-itemtype": "ComputerModel", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "product_number": { + "type": "string", + "maxLength": 255 + }, + "weight": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "rack_units": { + "type": "integer", + "minimum": 1, + "default": 1 + }, + "depth": { + "type": "number", + "format": "float", + "default": 1, + "enum": [ + 0.25, + 0.33, + 0.5, + 1 + ] + }, + "power_connections": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "power_consumption": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "is_half_rack": { + "type": "boolean", + "default": false + }, + "picture_front": { + "type": "string", + "readOnly": true + }, + "picture_rear": { + "type": "string", + "readOnly": true + }, + "pictures": { + "type": "array", + "items": { + "type": "string", + "readOnly": true + } + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Mod\u00e8le d'ordinateur" + }, + "ComputerType": { + "x-itemtype": "ComputerType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type d'ordinateur" + }, "Config": { "x-itemtype": "Config", "type": "object", @@ -3484,9 +4774,36 @@ }, "description": "Mod\u00e8le de consommable" }, + "ConsumableItemType": { + "x-itemtype": "ConsumableItemType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de consommable" + }, "Contact": { - "x-itemtype": "Contact", "type": "object", + "x-itemtype": "Contact", "properties": { "id": { "type": "integer", @@ -3529,14 +4846,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "ContactType" }, "is_deleted": { "type": "boolean" @@ -3544,9 +4861,36 @@ }, "description": "Contact" }, + "ContactType": { + "x-itemtype": "ContactType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de contact" + }, "Contract": { - "x-itemtype": "Contract", "type": "object", + "x-itemtype": "Contract", "properties": { "id": { "type": "integer", @@ -3604,21 +4948,296 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "ContractType" }, "is_deleted": { "type": "boolean" + }, + "costs": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "ContractCost", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } + }, + "number": { + "type": "string", + "maxLength": 255 + }, + "location": { + "type": "object", + "x-itemtype": "Location", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Location" + }, + "date_begin": { + "type": "string", + "format": "date" + }, + "duration": { + "type": "integer", + "format": "int32", + "description": "Duration in months" + }, + "notice_period": { + "type": "integer", + "format": "int32", + "description": "Notice period in months" + }, + "renewal_period": { + "type": "integer", + "format": "int32", + "description": "Renewal period in months" + }, + "invoice_period": { + "type": "integer", + "format": "int32", + "description": "Invoice period in months" + }, + "accounting_number": { + "type": "string", + "maxLength": 255 + }, + "week_begin_hour": { + "type": "string", + "pattern": "time", + "description": "Week begin hour in HH:MM:SS format (RFC3339 partial-time)" + }, + "week_end_hour": { + "type": "string", + "pattern": "time", + "description": "Week end hour in HH:MM:SS format (RFC3339 partial-time)" + }, + "saturday_begin_hour": { + "type": "string", + "pattern": "time", + "description": "Saturday begin hour in HH:MM:SS format (RFC3339 partial-time)" + }, + "saturday_end_hour": { + "type": "string", + "pattern": "time", + "description": "Saturday end hour in HH:MM:SS format (RFC3339 partial-time)" + }, + "sunday_begin_hour": { + "type": "string", + "pattern": "time", + "description": "Sunday begin hour in HH:MM:SS format (RFC3339 partial-time)" + }, + "sunday_end_hour": { + "type": "string", + "pattern": "time", + "description": "Sunday end hour in HH:MM:SS format (RFC3339 partial-time)" + }, + "use_saturday": { + "type": "boolean", + "default": false + }, + "use_sunday": { + "type": "boolean", + "default": false + }, + "max_links_allowed": { + "type": "integer", + "format": "int32", + "description": "Maximum number of items that can be linked to this contract (0 = unlimited)" + }, + "alert": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 4, + 8, + 12, + 64, + 72 + ], + "description": " The alert type for this contract\n - 0: No alert\n - 4: Alert on end date\n - 8: Alert on notice date\n - 12: Alert on end date and notice date\n - 16: Periodic alert\n - 24: Periodic alert and alert on notice date" + }, + "renewal_type": { + "type": "integer", + "enum": [ + 0, + 1, + 2 + ], + "description": " The renewal type for this contract\n - 0: No renewal\n - 1: Tacit renewal (automatic)\n - 2: Explicit renewal (manual)" + }, + "template_name": { + "type": "string" + }, + "is_template": { + "type": "boolean" } }, "description": "Contrat" }, + "ContractCost": { + "x-itemtype": "ContractCost", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "contract": { + "type": "object", + "x-itemtype": "Contract", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Contract" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_begin": { + "type": "string", + "format": "date-time" + }, + "date_end": { + "type": "string", + "format": "date-time" + }, + "cost": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "budget": { + "type": "object", + "x-itemtype": "Budget", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Budget" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean" + } + }, + "description": "Co\u00fbt" + }, + "ContractType": { + "x-itemtype": "ContractType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de contrat" + }, + "Contract_Item": { + "x-itemtype": "Contract_Item", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "contract": { + "type": "object", + "x-itemtype": "Contract", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Contract" + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + } + }, + "description": "Lien Contrat\/\u00c9l\u00e9ment" + }, "Controller": { "x-itemtype": "DeviceControl", "type": "object", @@ -5159,6 +6778,32 @@ } }, "x-full-schema": "User" + }, + "filters": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "DashboardFilter", + "properties": { + "id": { + "type": "integer", + "readOnly": true + } + } + } + }, + "items": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "DashboardItem", + "properties": { + "id": { + "type": "integer", + "readOnly": true + } + } + } } }, "description": "G\u00e9n\u00e9ral" @@ -5373,8 +7018,8 @@ "description": "G\u00e9n\u00e9ral" }, "DataCenter": { - "x-itemtype": "Datacenter", "type": "object", + "x-itemtype": "Datacenter", "properties": { "id": { "type": "integer", @@ -5430,8 +7075,8 @@ "description": "Data center" }, "Database": { - "x-itemtype": "Database", "type": "object", + "x-itemtype": "Database", "properties": { "id": { "type": "integer", @@ -5815,8 +7460,267 @@ "description": "Liste noire" }, "Document": { + "type": "object", "x-itemtype": "Document", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + }, + "is_deleted": { + "type": "boolean" + }, + "filename": { + "type": "string" + }, + "filepath": { + "type": "string", + "readOnly": true + }, + "download_url": { + "type": "string", + "readOnly": true + }, + "mime": { + "type": "string" + }, + "sha1sum": { + "type": "string" + }, + "category": { + "type": "object", + "x-itemtype": "DocumentCategory", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "DocumentCategory" + }, + "link": { + "type": "string", + "maxLength": 255 + }, + "user": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" + }, + "checksum_sha1": { + "type": "string", + "maxLength": 40 + }, + "is_import_denied": { + "type": "boolean" + }, + "tag": { + "type": "string", + "maxLength": 255 + } + }, + "description": "Document" + }, + "DocumentCategory": { "type": "object", + "x-itemtype": "DocumentCategory", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "completename": { + "type": "string", + "readOnly": true + }, + "level": { + "type": "integer", + "readOnly": true + }, + "comment": { + "type": "string" + }, + "parent": { + "type": "object", + "x-itemtype": "DocumentCategory", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "DocumentCategory" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Rubrique des document" + }, + "DocumentType": { + "type": "object", + "x-itemtype": "DocumentType", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "mime": { + "type": "string" + }, + "is_uploadable": { + "type": "boolean" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de document" + }, + "Document_Item": { + "type": "object", + "x-itemtype": "Document_Item", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "readOnly": true + }, + "items_id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "documents_id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "document": { + "type": "object", + "x-itemtype": "Document", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Document" + }, + "filepath": { + "type": "string", + "readOnly": true + }, + "timeline_position": { + "type": "number", + "enum": [ + -1, + 0, + 1, + 2, + 3, + 4 + ], + "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date-time" + } + }, + "description": "\u00c9l\u00e9ment associ\u00e9 au document" + }, + "Domain": { + "type": "object", + "x-itemtype": "Domain", "properties": { "id": { "type": "integer", @@ -5853,28 +7757,114 @@ "type": "string", "format": "date-time" }, + "type": { + "type": "object", + "x-itemtype": "DomainType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "DomainType" + }, + "user_tech": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" + }, + "group_tech": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Group", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "ID" + }, + "name": { + "type": "string" + } + } + } + }, + "user": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" + }, + "group": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Group", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "ID" + }, + "name": { + "type": "string" + } + } + } + }, "is_deleted": { "type": "boolean" }, - "filename": { - "type": "string" + "date_domain_creation": { + "type": "string", + "format": "date" }, - "filepath": { + "date_expiration": { "type": "string", - "readOnly": true + "format": "date" }, - "mime": { + "template_name": { "type": "string" }, - "sha1sum": { - "type": "string" + "is_template": { + "type": "boolean" + }, + "is_active": { + "type": "boolean" + }, + "is_recursive": { + "type": "boolean" } }, - "description": "Document" + "description": "Domaine" }, - "DocumentCategory": { + "DomainRecord": { "type": "object", - "x-itemtype": "DocumentCategory", + "x-itemtype": "DomainRecord", "properties": { "id": { "type": "integer", @@ -5882,22 +7872,44 @@ "readOnly": true }, "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { "type": "string" }, - "completename": { + "data": { "type": "string", - "readOnly": true + "description": "The raw data part of a DNS record", + "example": "10 mail.example.com" }, - "level": { - "type": "integer", - "readOnly": true + "data_obj": { + "type": "string", + "description": "JSON-encoded data object for the record", + "example": "{\"priority\":10,\"server\":\"mail.example.com\"}" }, - "comment": { - "type": "string" + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" }, - "parent": { + "is_recursive": { + "type": "boolean" + }, + "domain": { "type": "object", - "x-itemtype": "DocumentCategory", + "x-itemtype": "Domain", "properties": { "id": { "type": "integer", @@ -5908,44 +7920,59 @@ "readOnly": true } }, - "x-full-schema": "DocumentCategory" + "x-full-schema": "Domain" }, - "date_creation": { - "type": "string", - "format": "date-time" + "type": { + "type": "object", + "x-itemtype": "DomainRecordType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "DomainRecordType" }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Rubrique des document" - }, - "DocumentType": { - "type": "object", - "x-itemtype": "DocumentType", - "properties": { - "id": { + "ttl": { "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "extension": { - "type": "string" + "format": "int32", + "description": "Time to live in seconds" }, - "icon": { - "type": "string" + "user": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" }, - "mime": { - "type": "string" + "user_tech": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" }, - "is_uploadable": { + "is_deleted": { "type": "boolean" }, "date_creation": { @@ -5957,52 +7984,53 @@ "format": "date-time" } }, - "description": "Type de document" + "description": "Enregistrement de domaine" }, - "Document_Item": { + "DomainRecordType": { + "x-itemtype": "DomainRecordType", "type": "object", - "x-itemtype": "Document_Item", "properties": { "id": { "type": "integer", "format": "int64", "readOnly": true }, - "itemtype": { + "name": { "type": "string", - "readOnly": true + "maxLength": 255 }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true + "comment": { + "type": "string" }, - "documents_id": { - "type": "integer", - "format": "int64", - "readOnly": true + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" }, - "filepath": { - "type": "string", - "readOnly": true + "is_recursive": { + "type": "boolean", + "default": false }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" + "fields": { + "type": "string", + "description": "JSON encoded array of field definitions. Each field definition is an array containing at least a \"key\" and \"label\" string. Optional properties include \"placeholder\" (string), \"quote_value\" (boolean), and \"is_fqdn\" (boolean)." } }, - "description": "\u00c9l\u00e9ment associ\u00e9 au document" + "description": "Type d'enregistrement" }, - "Domain": { - "x-itemtype": "Domain", + "DomainRelation": { + "x-itemtype": "DomainRelation", "type": "object", "properties": { "id": { @@ -6011,7 +8039,8 @@ "readOnly": true }, "name": { - "type": "string" + "type": "string", + "maxLength": 255 }, "comment": { "type": "string" @@ -6032,17 +8061,32 @@ }, "x-full-schema": "Entity" }, - "date_creation": { - "type": "string", - "format": "date-time" + "is_recursive": { + "type": "boolean", + "default": false + } + }, + "description": "Relation de domaine" + }, + "DomainType": { + "x-itemtype": "DomainType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true }, - "date_mod": { + "name": { "type": "string", - "format": "date-time" + "maxLength": 255 }, - "type": { + "comment": { + "type": "string" + }, + "entity": { "type": "object", - "x-itemtype": "DomainType", + "x-itemtype": "Entity", "properties": { "id": { "type": "integer", @@ -6053,11 +8097,28 @@ "type": "string", "readOnly": true } - } + }, + "x-full-schema": "Entity" }, - "user_tech": { + "is_recursive": { + "type": "boolean", + "default": false + } + }, + "description": "Type de domaine" + }, + "Domain_Item": { + "type": "object", + "x-itemtype": "Domain_Item", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "domain": { "type": "object", - "x-itemtype": "User", + "x-itemtype": "Domain", "properties": { "id": { "type": "integer", @@ -6068,28 +8129,19 @@ "readOnly": true } }, - "x-full-schema": "User" + "x-full-schema": "Domain" }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } + "itemtype": { + "type": "string", + "maxLength": 100 }, - "user": { + "items_id": { + "type": "integer", + "format": "int64" + }, + "relation": { "type": "object", - "x-itemtype": "User", + "x-itemtype": "DomainRelation", "properties": { "id": { "type": "integer", @@ -6100,30 +8152,16 @@ "readOnly": true } }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } + "x-full-schema": "DomainRelation" }, "is_deleted": { "type": "boolean" + }, + "is_dynamic": { + "type": "boolean" } }, - "description": "Domaine" + "description": "\u00c9l\u00e9ment associ\u00e9 au domaine" }, "Drive": { "x-itemtype": "DeviceDrive", @@ -6365,6 +8403,154 @@ }, "description": "E-mail" }, + "EmailAuthServer": { + "x-itemtype": "AuthMail", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "connection_string": { + "type": "string", + "description": "IMAP connection string in the PHP format", + "example": "{imap.example.com:993\/imap\/ssl}", + "maxLength": 255 + }, + "domain": { + "type": "string", + "description": "Email domain associated to this authentication server. Used to set user email addresses.", + "example": "example.com", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "is_active": { + "type": "boolean", + "default": false + }, + "is_default": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Serveur mails" + }, + "EmailCollector": { + "x-itemtype": "MailCollector", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "host": { + "type": "string", + "maxLength": 255 + }, + "login": { + "type": "string", + "maxLength": 255 + }, + "password": { + "type": "string", + "writeOnly": true, + "maxLength": 255 + }, + "max_filesize": { + "type": "integer", + "description": "Maximum size of email attachments to process, in bytes", + "minimum": 0, + "default": 2097152 + }, + "comment": { + "type": "string" + }, + "is_active": { + "type": "boolean", + "default": false + }, + "accepted_folder": { + "type": "string", + "description": "Name of the folder where emails are moved if processing was successful", + "maxLength": 255 + }, + "rejected_folder": { + "type": "string", + "description": "Name of the folder where emails are moved if processing failed", + "maxLength": 255 + }, + "errors": { + "type": "integer", + "description": "Number of connection errors", + "readOnly": true + }, + "use_mail_date": { + "type": "boolean", + "description": "Whether to use the email date as the item creation date", + "default": false + }, + "requester_field": { + "type": "boolean", + "description": "Use Reply-To header value instead of FROM header value as requester (when available)", + "default": false + }, + "add_to_to_observer": { + "type": "boolean", + "description": "Add all TO header email addresses as ticket observers", + "default": true + }, + "add_cc_to_observer": { + "type": "boolean", + "description": "Add all CC header email addresses as ticket observers", + "default": false + }, + "collect_only_unread": { + "type": "boolean", + "description": "Collect only unread emails", + "default": false + }, + "create_user_from_email": { + "type": "boolean", + "description": "Create a new user if the email address of the requester does not exist in GLPI", + "default": false + }, + "date_last_collect": { + "type": "string", + "format": "date-time", + "description": "Date and time of the last collection", + "readOnly": true + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Collecteur" + }, "Enclosure": { "x-itemtype": "Enclosure", "type": "object", @@ -6426,14 +8612,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "EnclosureModel" }, "manufacturer": { "type": "object", @@ -6547,10 +8733,97 @@ "date_mod": { "type": "string", "format": "date-time" + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" } }, "description": "Ch\u00e2ssis" }, + "EnclosureModel": { + "x-itemtype": "EnclosureModel", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "product_number": { + "type": "string", + "maxLength": 255 + }, + "weight": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "rack_units": { + "type": "integer", + "minimum": 1, + "default": 1 + }, + "depth": { + "type": "number", + "format": "float", + "default": 1, + "enum": [ + 0.25, + 0.33, + 0.5, + 1 + ] + }, + "power_connections": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "power_consumption": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "is_half_rack": { + "type": "boolean", + "default": false + }, + "picture_front": { + "type": "string", + "readOnly": true + }, + "picture_rear": { + "type": "string", + "readOnly": true + }, + "pictures": { + "type": "array", + "items": { + "type": "string", + "readOnly": true + } + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Mod\u00e8le de ch\u00e2ssis" + }, "Entity": { "x-itemtype": "Entity", "type": "object", @@ -6595,6 +8868,147 @@ "type": "integer", "description": "Level", "readOnly": true + }, + "registration_number": { + "type": "string", + "maxLength": 255 + }, + "address": { + "type": "string" + }, + "postcode": { + "type": "string", + "maxLength": 255 + }, + "city": { + "type": "string", + "maxLength": 255 + }, + "state": { + "type": "string", + "maxLength": 255 + }, + "country": { + "type": "string", + "maxLength": 255 + }, + "latitude": { + "type": "string", + "maxLength": 255 + }, + "longitude": { + "type": "string", + "maxLength": 255 + }, + "altitude": { + "type": "string", + "maxLength": 255 + }, + "website": { + "type": "string", + "format": "uri", + "maxLength": 255 + }, + "phone": { + "type": "string", + "maxLength": 255 + }, + "fax": { + "type": "string", + "maxLength": 255 + }, + "email": { + "type": "string", + "format": "email", + "maxLength": 255 + }, + "admin_email": { + "type": "string", + "format": "email", + "maxLength": 255 + }, + "admin_email_name": { + "type": "string", + "maxLength": 255 + }, + "from_email": { + "type": "string", + "format": "email", + "maxLength": 255 + }, + "from_email_name": { + "type": "string", + "maxLength": 255 + }, + "noreply_email": { + "type": "string", + "format": "email", + "maxLength": 255 + }, + "noreply_email_name": { + "type": "string", + "maxLength": 255 + }, + "replyto_email": { + "type": "string", + "format": "email", + "maxLength": 255 + }, + "replyto_email_name": { + "type": "string", + "maxLength": 255 + }, + "notification_subject_tag": { + "type": "string", + "maxLength": 255 + }, + "ldap_dn": { + "type": "string", + "description": "DN of the entity in LDAP. Used as the base DN when doing LDAP searches to import new users." + }, + "tag": { + "type": "string", + "maxLength": 255, + "description": "Tag of the entity populated by an inventory tool." + }, + "authldap": { + "type": "object", + "x-itemtype": "AuthLDAP", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "LDAPDirectory" + }, + "mail_domain": { + "type": "string", + "maxLength": 255, + "description": "Email domain of the entity" + }, + "entity_ldapfilter": { + "type": "string" + }, + "mailing_signature": { + "type": "string" + }, + "url_base": { + "type": "string", + "format": "uri", + "description": "Base URL of the GLPI instance used by this entity. Used when generating links in notifications for users of this entity." + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" } }, "description": "Entit\u00e9" @@ -7198,6 +9612,163 @@ } } }, + "ExternalLink": { + "x-itemtype": "Link", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "link": { + "type": "string", + "maxLength": 255 + }, + "data": { + "type": "string" + }, + "open_window": { + "type": "boolean", + "default": true + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Lien externe" + }, + "FieldUnicity": { + "x-itemtype": "FieldUnicity", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "itemtype": { + "type": "string", + "maxLength": 255 + }, + "fields": { + "type": "string", + "description": "Comma-separated list of field names that must be unique together for the given itemtype", + "example": "serial,locations_id" + }, + "comment": { + "type": "string" + }, + "is_active": { + "type": "boolean", + "default": false + }, + "action_refuse": { + "type": "boolean", + "description": "Whether to refuse the creation\/modification of items that would violate the unicity constraint.", + "default": false + }, + "action_notify": { + "type": "boolean", + "description": "Whether to send a notification when a unicity constraint is violated.", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Unicit\u00e9 des champs" + }, + "Filesystem": { + "type": "object", + "x-itemtype": "Filesystem", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Syst\u00e8me de fichier" + }, "Firmware": { "x-itemtype": "DeviceFirmware", "type": "object", @@ -8214,6 +10785,71 @@ } }, "x-full-schema": "Entity" + }, + "code": { + "type": "string", + "maxLength": 255 + }, + "ldap_field": { + "type": "string", + "maxLength": 255, + "description": "Attribute of LDAP users that may contain this group for membership (memberof)" + }, + "ldap_value": { + "type": "string", + "description": "Value of the LDAP attribute to match for membership. Usually the DN of the group." + }, + "ldap_group_dn": { + "type": "string", + "description": "DN of the group in LDAP. Only populated in certain cases. If you want to know the group DN you need to check both this and ldap_value fields." + }, + "maybe_requester": { + "type": "boolean", + "description": "Can be a requester" + }, + "maybe_observer": { + "type": "boolean", + "description": "Can be an observer" + }, + "maybe_assigned": { + "type": "boolean", + "description": "Can be assigned" + }, + "maybe_assigned_task": { + "type": "boolean", + "description": "Can be assigned to tasks" + }, + "maybe_notified": { + "type": "boolean", + "description": "Can be notified" + }, + "may_contain_items": { + "type": "boolean", + "description": "Can contain items" + }, + "may_contain_users": { + "type": "boolean", + "description": "Can contain users" + }, + "maybe_manager": { + "type": "boolean", + "description": "Can be manager" + }, + "recursive_membership": { + "type": "boolean", + "description": "Whether users of this group are implied members of all child groups" + }, + "mfa_enforced": { + "type": "boolean", + "description": "Is two-factor authentication enforced for members of this group" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" } }, "description": "Groupe" @@ -8441,6 +11077,25 @@ }, "description": "Mod\u00e8le de disque dur" }, + "HardDriveType": { + "x-itemtype": "DeviceHardDriveType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + } + }, + "description": "Type de disque dur" + }, "ITILCategory": { "x-itemtype": "ITILCategory", "type": "object", @@ -8632,6 +11287,52 @@ }, "description": "Cat\u00e9gorie ITIL" }, + "ITILReminder": { + "x-itemtype": "ITILReminder", + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "pending_reason": { + "type": "object", + "x-itemtype": "PendingReason", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "PendingReason" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "content": { + "type": "string", + "format": "html" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Rappel automatique" + }, "ITILStats": { "type": "object", "properties": { @@ -8700,6 +11401,45 @@ } } }, + "ITIL_Project": { + "x-itemtype": "Itil_Project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "project": { + "type": "object", + "x-itemtype": "Project", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Project" + }, + "itemtype": { + "type": "string", + "enum": [ + "Ticket", + "Change", + "Problem" + ] + }, + "items_id": { + "type": "integer", + "format": "int64" + } + }, + "description": "Lien Projet \/ Itil" + }, "Infocom": { "type": "object", "x-itemtype": "Infocom", @@ -8889,6 +11629,131 @@ }, "description": "Type d'interface (disque dur...)" }, + "Item_Line": { + "x-itemtype": "Item_Line", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "line": { + "type": "object", + "x-itemtype": "Line", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Line" + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + } + }, + "description": "Rubrique" + }, + "Item_Plug": { + "x-itemtype": "Item_Plug", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "plug": { + "type": "object", + "x-itemtype": "Plug", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Plug" + }, + "itemtype": { + "type": "string", + "maxLength": 255 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "number_plugs": { + "type": "integer", + "minimum": 1 + }, + "date_creation": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "date_mod": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "Prise", + "required": [ + "plug", + "itemtype", + "items_id", + "number_plugs" + ] + }, + "Item_Project": { + "x-itemtype": "Item_Project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "project": { + "type": "object", + "x-itemtype": "Project", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Project" + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + } + }, + "description": "\u00c9l\u00e9ment associ\u00e9 au projet" + }, "KBArticle": { "x-itemtype": "KnowbaseItem", "type": "object", @@ -9525,6 +12390,49 @@ }, "description": "G\u00e9n\u00e9ral" }, + "KBArticle_Item": { + "x-itemtype": "KnowbaseItem_Item", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "kbarticle": { + "type": "object", + "x-itemtype": "KnowbaseItem", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "KBArticle" + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Objet de la base de connaissances" + }, "KBArticle_ProfileTarget": { "x-itemtype": "KnowbaseItem_Profile", "type": "object", @@ -9718,7 +12626,8 @@ "port": { "type": "integer", "min": 1, - "max": 65535 + "max": 65535, + "default": 389 }, "is_default": { "type": "boolean" @@ -9761,9 +12670,57 @@ }, "description": "Annuaire LDAP" }, + "LDAPDirectoryReplicate": { + "x-itemtype": "AuthLdapReplicate", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "ldap_directory": { + "type": "object", + "x-itemtype": "AuthLDAP", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "LDAPDirectory" + }, + "host": { + "type": "string", + "maxLength": 255 + }, + "port": { + "type": "integer", + "min": 1, + "max": 65535, + "default": 389 + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "timeout": { + "type": "integer", + "description": "Connection timeout in seconds", + "minimum": 1, + "maximum": 30, + "default": 10 + } + }, + "description": "G\u00e9n\u00e9ral" + }, "License": { - "x-itemtype": "SoftwareLicense", "type": "object", + "x-itemtype": "SoftwareLicense", "properties": { "id": { "type": "integer", @@ -9822,6 +12779,10 @@ }, "x-full-schema": "Entity" }, + "is_recursive": { + "type": "boolean", + "readOnly": true + }, "date_creation": { "type": "string", "format": "date-time" @@ -9836,14 +12797,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "LicenseType" }, "manufacturer": { "type": "object", @@ -9939,10 +12900,6 @@ "is_deleted": { "type": "boolean" }, - "is_recursive": { - "type": "boolean", - "readOnly": true - }, "completename": { "type": "string", "readOnly": true @@ -9954,9 +12911,79 @@ }, "description": "Licence" }, + "LicenseType": { + "x-itemtype": "SoftwareLicenseType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "object", + "x-itemtype": "SoftwareLicenseType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "LicenseType" + }, + "level": { + "type": "integer", + "readOnly": true + }, + "completename": { + "type": "string", + "readOnly": true + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de licences" + }, "Line": { - "x-itemtype": "Line", "type": "object", + "x-itemtype": "Line", "properties": { "id": { "type": "integer", @@ -10029,14 +13056,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "LineType" }, "user_tech": { "type": "object", @@ -10104,10 +13131,115 @@ }, "is_deleted": { "type": "boolean" + }, + "caller_num": { + "type": "string", + "maxLength": 255 + }, + "caller_name": { + "type": "string", + "maxLength": 255 + }, + "operator": { + "type": "object", + "x-itemtype": "LineOperator", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "LineOperator" } }, "description": "Ligne t\u00e9l\u00e9phonique" }, + "LineOperator": { + "x-itemtype": "LineOperator", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "mcc": { + "type": "integer", + "description": "Mobile Country Code" + }, + "mnc": { + "type": "integer", + "description": "Mobile Network Code" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Op\u00e9rateur t\u00e9l\u00e9phonique" + }, + "LineType": { + "x-itemtype": "LineType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de ligne" + }, "Location": { "type": "object", "x-itemtype": "Location", @@ -10212,6 +13344,96 @@ } } }, + "LockedField": { + "x-itemtype": "Lockedfield", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 255 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "field": { + "type": "string", + "maxLength": 50 + }, + "value": { + "type": "string", + "description": "The last inventoried value of the locked field.", + "maxLength": 255 + }, + "is_global": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "date_mod": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "Champ verrouill\u00e9" + }, + "ManualLink": { + "x-itemtype": "ManualLink", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 255 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "url": { + "type": "string", + "maxLength": 8096 + }, + "open_window": { + "type": "boolean", + "default": true + }, + "icon": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Lien manuel" + }, "Manufacturer": { "type": "object", "x-itemtype": "Manufacturer", @@ -10625,14 +13847,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "MonitorType" }, "model": { "type": "object", @@ -10640,14 +13862,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "MonitorModel" }, "group": { "type": "array", @@ -10702,10 +13924,201 @@ } }, "x-full-schema": "AutoUpdateSystem" + }, + "size": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "has_microphone": { + "type": "boolean", + "default": false + }, + "has_speaker": { + "type": "boolean", + "default": false + }, + "has_subd": { + "type": "boolean", + "default": false + }, + "has_bnc": { + "type": "boolean", + "default": false + }, + "has_dvi": { + "type": "boolean", + "default": false + }, + "has_pivot": { + "type": "boolean", + "default": false + }, + "has_hdmi": { + "type": "boolean", + "default": false + }, + "has_displayport": { + "type": "boolean", + "default": false + }, + "is_global": { + "type": "boolean", + "default": false + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" + }, + "ticket_tco": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "is_dynamic": { + "type": "boolean", + "default": false } }, "description": "Moniteur" }, + "MonitorModel": { + "x-itemtype": "MonitorModel", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "product_number": { + "type": "string", + "maxLength": 255 + }, + "weight": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "rack_units": { + "type": "integer", + "minimum": 1, + "default": 1 + }, + "depth": { + "type": "number", + "format": "float", + "default": 1, + "enum": [ + 0.25, + 0.33, + 0.5, + 1 + ] + }, + "power_connections": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "power_consumption": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "is_half_rack": { + "type": "boolean", + "default": false + }, + "picture_front": { + "type": "string", + "readOnly": true + }, + "picture_rear": { + "type": "string", + "readOnly": true + }, + "pictures": { + "type": "array", + "items": { + "type": "string", + "readOnly": true + } + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Mod\u00e8le de moniteur" + }, + "MonitorType": { + "x-itemtype": "MonitorType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de moniteur" + }, + "Network": { + "x-itemtype": "Network", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "R\u00e9seau" + }, "NetworkCard": { "x-itemtype": "DeviceNetworkCard", "type": "object", @@ -11050,14 +14463,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "NetworkEquipmentType" }, "model": { "type": "object", @@ -11065,14 +14478,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "NetworkEquipmentModel" }, "group": { "type": "array", @@ -11142,10 +14555,163 @@ } }, "x-full-schema": "AutoUpdateSystem" + }, + "ram": { + "type": "integer", + "format": "int64" + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" + }, + "ticket_tco": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "is_dynamic": { + "type": "boolean", + "default": false + }, + "sysdescr": { + "type": "string" + }, + "cpu": { + "type": "integer" + }, + "last_inventory_update": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "snmp_credential": { + "type": "object", + "x-itemtype": "SNMPCredential", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "SNMPCredential" } }, "description": "Mat\u00e9riel r\u00e9seau" }, + "NetworkEquipmentModel": { + "x-itemtype": "NetworkEquipmentModel", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "product_number": { + "type": "string", + "maxLength": 255 + }, + "weight": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "rack_units": { + "type": "integer", + "minimum": 1, + "default": 1 + }, + "depth": { + "type": "number", + "format": "float", + "default": 1, + "enum": [ + 0.25, + 0.33, + 0.5, + 1 + ] + }, + "power_connections": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "power_consumption": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "is_half_rack": { + "type": "boolean", + "default": false + }, + "picture_front": { + "type": "string", + "readOnly": true + }, + "picture_rear": { + "type": "string", + "readOnly": true + }, + "pictures": { + "type": "array", + "items": { + "type": "string", + "readOnly": true + } + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Mod\u00e8le de mat\u00e9riel r\u00e9seau" + }, + "NetworkEquipmentType": { + "x-itemtype": "NetworkEquipmentType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de mat\u00e9riel r\u00e9seau" + }, "NetworkPort": { "x-itemtype": "NetworkPort", "type": "object", @@ -11597,6 +15163,76 @@ }, "description": "Boucle locale" }, + "NetworkPortType": { + "x-itemtype": "NetworkPortType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "iftype": { + "type": "integer", + "description": "The interface type as defined by IANA. See https:\/\/www.iana.org\/assignments\/smi-numbers\/smi-numbers.xhtml" + }, + "is_importable": { + "type": "boolean", + "default": false + }, + "instantiation_type": { + "type": "string", + "enum": [ + "NetworkPortEthernet", + "NetworkPortWifi", + "NetworkPortAggregate", + "NetworkPortAlias", + "NetworkPortDialup", + "NetworkPortLocal", + "NetworkPortFiberchannel" + ] + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de port r\u00e9seau", + "required": [ + "iftype" + ] + }, "NetworkPortWifi": { "type": "object", "x-itemtype": "NetworkPortWifi", @@ -11693,6 +15329,85 @@ }, "description": "Ports Wifi" }, + "NotImportedEmail": { + "x-itemtype": "NotImportedEmail", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "from": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "to": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "mail_collector": { + "type": "object", + "x-itemtype": "MailCollector", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "EmailCollector", + "readOnly": true + }, + "date": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "subject": { + "type": "string", + "readOnly": true + }, + "messageid": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "reason": { + "type": "integer", + "enum": [ + 0, + 1, + 2, + 3 + ], + "description": " - 0: No matching rule to assign the ticket to an entity.\n - 1: User unknown. The email address of the requester does not correspond to any user in GLPI.\n - 2: Failed operation\/insert. An error occurred while trying to create the ticket or followup.\n - 3: Not enough rights. The user does not have permission to create the ticket or followup.", + "readOnly": true + }, + "user": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User", + "readOnly": true + } + }, + "description": "Mail rejet\u00e9" + }, "Note": { "type": "object", "x-itemtype": "Notepad", @@ -11758,6 +15473,342 @@ }, "description": "Note" }, + "Notification": { + "x-itemtype": "Notification", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean", + "default": false + }, + "is_active": { + "type": "boolean", + "default": false + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "event": { + "type": "string", + "maxLength": 255, + "description": "The event that triggers the notification. The possible values depend on the type of item the notification is linked to." + }, + "comment": { + "type": "string" + }, + "allow_reply": { + "type": "boolean", + "default": true + }, + "attach_documents": { + "type": "integer", + "enum": [ + -2, + 0, + 1, + 2 + ], + "description": "The way documents are attached to the notification. Possible values are:\n- -2: Use the global setting (inherit from global config)\n- 0 :No document\n- 1: All documents\n- 2: Only documents related to the item that triggers the event" + }, + "date_creation": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "date_mod": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "recipients": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "NotificationRecipient", + "properties": { + "id": { + "type": "integer", + "readOnly": true + } + } + } + } + }, + "description": "Notification" + }, + "NotificationRecipient": { + "x-itemtype": "NotificationTarget", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "notification": { + "type": "object", + "x-itemtype": "Notification", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Notification" + }, + "type": { + "type": "integer", + "description": " The type of recipient. Possible values may depend on the type of item the notification is linked to.\n - 1: User\n - 2: Profile\n - 3: Group\n - 4: Seems unused but internally it is referenced as \"people in charge of the database synchronization\". This is probably a legacy type, or it was never truly implemented.\n - 5: Manager of a group\n - 6: Users of a group excluding managers", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "items_id": { + "type": "integer", + "description": " The IDs or values of the recipient items. The type of items depends on the type of recipient.\n Note that for users, the items_id does NOT refer to a specific user, but rather a type of user.\n For profilers, groups, manager of groups, and users of groups, the items_id refers to the actual IDs of the profiles, groups, etc. that are recipient of the notification.\n Known values for users are:\n - 1: Global administrator\n - 2: Assigned technicians\n - 3: Author\/Owner of the item\n - 4: Previously assigned technician\n - 5: Technician in charge of the item\n - 6: User of the item\n - 7: Recipient (writer of the ticket)\n - 8: Assigned suppliers\n - 9: Assigned group members\n - 10: Manager of the assigned group\n - 11: Entity administrator\n - 12: Manager of the requester group\n - 13: Requester group members\n - 14: Approval answerer (The user that responded to the approval request)\n - 15: Approval requester (The user that made the approval request)\n - 16: Task assigned user\n - 17: Task author\n - 18: Followup author\n - 19: User (used in cases where there is only one related user such as object locks, saved search alerts, and password notifications)\n - 20: Observer groups (groups directly added as an observer, not the groups of observer users)\n - 21: Observer users\n - 22: Manager of the observer group\n - 23: Technician group members in charge of the item\n - 24: Assigned group members, excluding managers\n - 25: Requester group members, excluding managers\n - 26: Observer group members, excluding managers\n - 27: Project manager users\n - 28: Project manager group members\n - 29: Project manager group managers\n - 30: Project manager group members, excluding managers\n - 31: Team member users (used in projects and project tasks)\n - 32: Team member group members (used in projects and project tasks)\n - 33: Team member group managers (used in projects and project tasks)\n - 34: Team member group members, excluding managers (used in projects and project tasks)\n - 35: Team member contacts (used in projects and project tasks)\n - 36: Team member suppliers (used in projects and project tasks)\n - 37: Task assigned group members\n - 38: Planning event guests\n - 39: Mentioned users\n - 40: Approval target\n - 41: Approval target's approved substitutes (users that can approve on behalf of the approval target when they are not available)." + }, + "is_exclusion": { + "type": "boolean", + "default": false + } + }, + "description": "Destinataire" + }, + "NotificationTemplate": { + "x-itemtype": "NotificationTemplate", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "comment": { + "type": "string" + }, + "css": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "date_mod": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "translations": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "NotificationTemplateTranslation", + "properties": { + "id": { + "type": "integer", + "readOnly": true + } + } + } + } + }, + "description": "Mod\u00e8le de notifications" + }, + "NotificationTemplateTranslation": { + "x-itemtype": "NotificationTemplateTranslation", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "notification_template": { + "type": "object", + "x-itemtype": "NotificationTemplate", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "NotificationTemplate" + }, + "language": { + "type": "string", + "maxLength": 10, + "default": "" + }, + "subject": { + "type": "string", + "maxLength": 255 + }, + "content_text": { + "type": "string" + }, + "content_html": { + "type": "string", + "format": "html" + } + }, + "description": "Traduction de mod\u00e8le" + }, + "Notification_NotificationTemplate": { + "x-itemtype": "Notification_NotificationTemplate", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "notification": { + "type": "object", + "x-itemtype": "Notification", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Notification" + }, + "notification_template": { + "type": "object", + "x-itemtype": "NotificationTemplate", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "NotificationTemplate" + }, + "mode": { + "type": "string", + "description": " The mode of the notification template for the notification.\n Typically only \"mailing\" or \"ajax\", but there are a few other types known to GLPI but not directly used, or which may be added by plugins.\n - mailing: Email notification\n - ajax: Browser notification (client-initiated pull notifications, not real-time push notifications)\n - websocket: Not used by GLPI core\n - sms: Not used by GLPI core\n - xmpp: Not used by GLPI core\n - irc: Not used by GLPI core", + "maxLength": 20, + "enum": [ + "mailing", + "ajax", + "websocket", + "sms", + "xmpp", + "irc" + ] + } + }, + "description": "Gabarit" + }, + "OAuthClient": { + "x-itemtype": "OAuthClient", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "identifier": { + "type": "string", + "description": "The client identifier.", + "readOnly": true + }, + "secret": { + "type": "string", + "description": "The client secret.", + "readOnly": true + }, + "redirect_uri": { + "type": "string", + "description": "JSON encoded array of allowed redirect URIs for this client" + }, + "grants": { + "type": "string", + "description": "JSON encoded array of allowed grant types for this client. Allowed values are \"authorization_code\", \"password\", and \"client_credentials\"." + }, + "scopes": { + "type": "string", + "description": "JSON encoded array of allowed scopes for this client. Allowed values are \"email\", \"user\", \"api\", \"inventory\", \"status\" and \"graphql\"." + }, + "is_active": { + "type": "boolean", + "default": true + }, + "is_confidential": { + "type": "boolean", + "default": true + }, + "allowed_ips": { + "type": "string", + "description": "Comma-separated list of allowed IPs or CIDR blocks. If empty, there is no restriction." + } + }, + "description": "Client OAuth" + }, "OLA": { "x-itemtype": "OLA", "type": "object", @@ -11899,8 +15950,7 @@ "type": "boolean" }, "execution_time": { - "type": "integer", - "readOnly": true + "type": "integer" }, "operator": { "type": "string", @@ -12730,6 +16780,13 @@ "date_mod": { "type": "string", "format": "date-time" + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" } }, "description": "PDU" @@ -13019,6 +17076,13 @@ "date_mod": { "type": "string", "format": "date-time" + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" } }, "description": "\u00c9quipement passif" @@ -13097,6 +17161,140 @@ }, "description": "Type d'\u00e9quipement passif" }, + "PendingReason": { + "x-itemtype": "PendingReason", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean" + }, + "is_default": { + "type": "boolean" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "followup_frequency": { + "type": "integer", + "format": "int32" + }, + "followups_before_resolution": { + "type": "integer", + "format": "int32" + }, + "followup_template": { + "type": "object", + "x-itemtype": "ITILFollowupTemplate", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "FollowupTemplate" + }, + "solution_template": { + "type": "object", + "x-itemtype": "SolutionTemplate", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "SolutionTemplate" + }, + "calendar": { + "type": "object", + "x-itemtype": "Calendar", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Calendar" + }, + "comment": { + "type": "string" + } + }, + "description": "Raison d'attente" + }, + "PendingReason_Item": { + "x-itemtype": "PendingReason_Item", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "followup_frequency": { + "type": "integer", + "format": "int32" + }, + "followups_before_resolution": { + "type": "integer", + "format": "int32" + }, + "bump_count": { + "type": "integer", + "format": "int32" + }, + "last_bump_date": { + "type": "string", + "format": "date-time" + }, + "previous_status": { + "type": "integer", + "format": "int32" + } + }, + "description": "\u00c9l\u00e9ment" + }, "Peripheral": { "type": "object", "x-itemtype": "Peripheral", @@ -13238,14 +17436,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "PeripheralType" }, "model": { "type": "object", @@ -13253,14 +17451,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "PeripheralModel" }, "group": { "type": "array", @@ -13315,10 +17513,172 @@ } }, "x-full-schema": "AutoUpdateSystem" + }, + "brand": { + "type": "string" + }, + "is_global": { + "type": "boolean", + "default": false + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" + }, + "ticket_tco": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "is_dynamic": { + "type": "boolean", + "default": false } }, "description": "P\u00e9riph\u00e9rique" }, + "PeripheralConnection": { + "x-itemtype": "Glpi\\Asset\\Asset_PeripheralAsset", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype_asset": { + "type": "string" + }, + "items_id_asset": { + "type": "integer", + "format": "int64" + }, + "itemtype_peripheral": { + "type": "string" + }, + "items_id_peripheral": { + "type": "integer", + "format": "int64" + }, + "is_deleted": { + "type": "boolean" + }, + "is_dynamic": { + "type": "boolean" + } + }, + "description": "Connexion" + }, + "PeripheralModel": { + "x-itemtype": "PeripheralModel", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "product_number": { + "type": "string", + "maxLength": 255 + }, + "weight": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "rack_units": { + "type": "integer", + "minimum": 1, + "default": 1 + }, + "depth": { + "type": "number", + "format": "float", + "default": 1, + "enum": [ + 0.25, + 0.33, + 0.5, + 1 + ] + }, + "power_connections": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "power_consumption": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "is_half_rack": { + "type": "boolean", + "default": false + }, + "picture_front": { + "type": "string", + "readOnly": true + }, + "picture_rear": { + "type": "string", + "readOnly": true + }, + "pictures": { + "type": "array", + "items": { + "type": "string", + "readOnly": true + } + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Mod\u00e8le de p\u00e9riph\u00e9rique" + }, + "PeripheralType": { + "x-itemtype": "PeripheralType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de p\u00e9riph\u00e9rique" + }, "Phone": { "type": "object", "x-itemtype": "Phone", @@ -13460,14 +17820,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "PhoneType" }, "model": { "type": "object", @@ -13475,14 +17835,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "PhoneModel" }, "group": { "type": "array", @@ -13537,10 +17897,290 @@ } }, "x-full-schema": "AutoUpdateSystem" + }, + "brand": { + "type": "string", + "maxLength": 255 + }, + "power_supply": { + "type": "object", + "x-itemtype": "PhonePowerSupply", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "PhonePowerSupply" + }, + "number_line": { + "type": "string", + "maxLength": 255 + }, + "have_headset": { + "type": "boolean", + "default": false + }, + "have_hp": { + "type": "boolean", + "default": false + }, + "is_global": { + "type": "boolean", + "default": false + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string", + "maxLength": 255 + }, + "ticket_tco": { + "type": "number", + "format": "float" + }, + "is_dynamic": { + "type": "boolean", + "default": false + }, + "last_inventory_update": { + "type": "string", + "format": "date-time" } }, "description": "T\u00e9l\u00e9phone" }, + "PhoneModel": { + "x-itemtype": "PhoneModel", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "product_number": { + "type": "string", + "maxLength": 255 + }, + "picture_front": { + "type": "string", + "readOnly": true + }, + "picture_rear": { + "type": "string", + "readOnly": true + }, + "pictures": { + "type": "array", + "items": { + "type": "string", + "readOnly": true + } + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Mod\u00e8le de t\u00e9l\u00e9phone" + }, + "PhonePowerSupply": { + "x-itemtype": "PhonePowerSupply", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "date_mod": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "Type d'alimentation de t\u00e9l\u00e9phone" + }, + "PhoneType": { + "x-itemtype": "PhoneType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de t\u00e9l\u00e9phone" + }, + "PlanningReminder": { + "x-itemtype": "PlanningRecall", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 255 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "user": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" + }, + "date": { + "type": "string", + "format": "date-time" + }, + "before_time": { + "type": "integer", + "format": "int32" + } + }, + "description": "Rappel du planning" + }, + "Plug": { + "x-itemtype": "Plug", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "date_mod": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "Prise" + }, + "Plugin": { + "x-itemtype": "Plugin", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "internal_name": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "version": { + "type": "string", + "readOnly": true + }, + "state": { + "type": "integer", + "enum": [ + -1, + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "description": " - -1: Unknown\n - 0: New (This status may not actually be used)\n - 1: Enabled\n - 2: Not installed\n - 3: Needs configured (Installed, but required configuration before it can be enabled)\n - 4: Disabled\n - 5: To clean (Uninstalled and the files are no longer present, but the metadata is still present in the database)\n - 6: Needs updated (A new version of the plugin is present and it needs have the update started)\n - 7: Replaced (The plugin has been replaced by another one)", + "readOnly": true + }, + "author": { + "type": "string", + "readOnly": true + }, + "homepage": { + "type": "string", + "readOnly": true + }, + "license": { + "type": "string", + "readOnly": true + } + }, + "description": "Plugin" + }, "PowerSupply": { "x-itemtype": "DevicePowerSupply", "type": "object", @@ -13879,14 +18519,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "PrinterType" }, "model": { "type": "object", @@ -13894,14 +18534,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "PrinterModel" }, "group": { "type": "array", @@ -13971,6 +18611,69 @@ } }, "x-full-schema": "AutoUpdateSystem" + }, + "has_serial": { + "type": "boolean", + "default": false + }, + "has_parallel": { + "type": "boolean", + "default": false + }, + "has_usb": { + "type": "boolean", + "default": false + }, + "has_wifi": { + "type": "boolean", + "default": false + }, + "has_ethernet": { + "type": "boolean", + "default": false + }, + "is_global": { + "type": "boolean", + "default": false + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" + }, + "ticket_tco": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "is_dynamic": { + "type": "boolean", + "default": false + }, + "sysdescr": { + "type": "string" + }, + "last_inventory_update": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "snmp_credential": { + "type": "object", + "x-itemtype": "SNMPCredential", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "SNMPCredential" } }, "description": "Imprimante" @@ -13993,6 +18696,21 @@ "product_number": { "type": "string" }, + "picture_front": { + "type": "string", + "readOnly": true + }, + "picture_rear": { + "type": "string", + "readOnly": true + }, + "pictures": { + "type": "array", + "items": { + "type": "string", + "readOnly": true + } + }, "date_creation": { "type": "string", "format": "date-time" @@ -14004,6 +18722,33 @@ }, "description": "Mod\u00e8le d'imprimante" }, + "PrinterType": { + "x-itemtype": "PrinterType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type d'imprimante" + }, "Problem": { "type": "object", "properties": { @@ -14142,8 +18887,7 @@ }, "resolution_date": { "type": "string", - "format": "date-time", - "readOnly": true + "format": "date-time" }, "date_creation": { "type": "string", @@ -14231,11 +18975,117 @@ }, "x-full-schema": "TeamMember" } + }, + "costs": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "ProblemCost", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } } }, "x-itemtype": "Problem", "description": "Probl\u00e8me" }, + "ProblemCost": { + "x-itemtype": "ProblemCost", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "problem": { + "type": "object", + "x-itemtype": "Problem", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Problem" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_begin": { + "type": "string", + "format": "date-time" + }, + "date_end": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "integer", + "format": "int32" + }, + "cost_time": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "cost_fixed": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "cost_material": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "budget": { + "type": "object", + "x-itemtype": "Budget", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Budget" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + } + }, + "description": "Co\u00fbt" + }, "ProblemTask": { "type": "object", "properties": { @@ -14795,6 +19645,31 @@ "comment": { "type": "string", "description": "Comment" + }, + "is_default": { + "type": "boolean" + }, + "helpdesk_hardware": { + "type": "integer", + "enum": [ + 0, + 1, + 2, + 3 + ], + "description": " Indicates the level of rights the user has regarding associating assets with assistance items (like tickets). Possible values:\n - 0: Cannot associate any assets with assistance items\n - 1: Can link their own assets with assistance items\n - 2: Can link any assets with assistance items\n - 3: Same as 2 but may see both \"My devices\" and \"All items\" in the web interface when associating assets with assistance items\n See 'helpdesk_item_type' for which item types can be associated when helpdesk_hardware is greater than 0." + }, + "helpdesk_item_type": { + "type": "string", + "description": "If helpdesk_hardware is greater than 0, this is a JSON-encoded string which indicates the item types that the user can associate with assistance items." + }, + "managed_domainrecordtypes": { + "type": "string", + "description": "A JSON-encoded string which indicates the IDs of domain record types that the user can manage. An array element with a value of -1 indicates that the user can manage all domain record types." + }, + "mfa_enforced": { + "type": "boolean", + "description": "Is two-factor authentication enforced for this profile" } }, "description": "Profil" @@ -14871,10 +19746,337 @@ } } } + }, + "costs": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "ProjectCost", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } + }, + "status": { + "type": "object", + "x-itemtype": "ProjectState", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "ProjectState" + }, + "is_recursive": { + "type": "boolean" + }, + "parent": { + "type": "object", + "x-itemtype": "Project", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Project" + }, + "type": { + "type": "object", + "x-itemtype": "ProjectType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "ProjectType" + }, + "date": { + "type": "string", + "format": "date-time" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + }, + "user": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" + }, + "group": { + "type": "object", + "x-itemtype": "Group", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Group" + }, + "plan_start_date": { + "type": "string", + "format": "date-time" + }, + "plan_end_date": { + "type": "string", + "format": "date-time" + }, + "real_start_date": { + "type": "string", + "format": "date-time" + }, + "real_end_date": { + "type": "string", + "format": "date-time" + }, + "percent_done": { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + "auto_percent_done": { + "type": "boolean" + }, + "show_on_global_gantt": { + "type": "boolean" + }, + "is_deleted": { + "type": "boolean" + }, + "template_name": { + "type": "string" + }, + "is_template": { + "type": "boolean" + }, + "tickets": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Ticket", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } + }, + "changes": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Change", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } + }, + "problems": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "Problem", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } + }, + "team": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "ProjectTeamMember", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "enum": [ + "User", + "Group", + "Supplier", + "Contact" + ], + "readOnly": true + }, + "items_id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } } }, "description": "Projet" }, + "ProjectCost": { + "x-itemtype": "ProjectCost", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "project": { + "type": "object", + "x-itemtype": "Project", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Project" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_begin": { + "type": "string", + "format": "date-time" + }, + "date_end": { + "type": "string", + "format": "date-time" + }, + "cost": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "budget": { + "type": "object", + "x-itemtype": "Budget", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Budget" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean" + } + }, + "description": "Co\u00fbt" + }, + "ProjectState": { + "x-itemtype": "ProjectState", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "color": { + "type": "string", + "pattern": "\/^#([A-Fa-f0-9]{6})$\/" + }, + "is_finished": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Statut de projet" + }, "ProjectTask": { "x-itemtype": "ProjectTask", "type": "object", @@ -14923,10 +20125,569 @@ } }, "x-full-schema": "ProjectTask" + }, + "status": { + "type": "object", + "x-itemtype": "ProjectState", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "ProjectState" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean" + }, + "is_deleted": { + "type": "boolean", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + }, + "plan_start_date": { + "type": "string", + "format": "date-time" + }, + "plan_end_date": { + "type": "string", + "format": "date-time" + }, + "real_start_date": { + "type": "string", + "format": "date-time" + }, + "real_end_date": { + "type": "string", + "format": "date-time" + }, + "planned_duration": { + "type": "integer", + "format": "int64", + "description": "Planned duration in seconds" + }, + "real_duration": { + "type": "integer", + "format": "int64", + "description": "Real duration in seconds" + }, + "auto_status": { + "type": "boolean", + "default": false, + "description": "If true, the status of the task will be automatically updated based on the percent done and the global configuration for project task states" + }, + "type": { + "type": "object", + "x-itemtype": "ProjectTaskType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "ProjectTaskType" + }, + "user": { + "type": "object", + "x-itemtype": "User", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "User" + }, + "percent_done": { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + "auto_percent_done": { + "type": "boolean", + "default": false + }, + "is_milestone": { + "type": "boolean", + "default": false + }, + "team": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "ProjectTaskTeamMember", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "enum": [ + "User", + "Group", + "Supplier", + "Contact" + ], + "readOnly": true + }, + "items_id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } } }, "description": "T\u00e2che de projet" }, + "ProjectTaskTeamMember": { + "x-itemtype": "ProjectTaskTeam", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "task": { + "type": "object", + "x-itemtype": "ProjectTask", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "ProjectTask" + }, + "itemtype": { + "type": "string", + "enum": [ + "User", + "Group", + "Supplier", + "Contact" + ] + }, + "items_id": { + "type": "integer", + "format": "int64" + } + }, + "description": "\u00c9quipe de t\u00e2che", + "required": [ + "task", + "itemtype", + "items_id" + ] + }, + "ProjectTaskType": { + "x-itemtype": "ProjectTaskType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de t\u00e2che de projet" + }, + "ProjectTeamMember": { + "x-itemtype": "ProjectTeam", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "project": { + "type": "object", + "x-itemtype": "Project", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Project" + }, + "itemtype": { + "type": "string", + "enum": [ + "User", + "Group", + "Supplier", + "Contact" + ] + }, + "items_id": { + "type": "integer", + "format": "int64" + } + }, + "description": "\u00c9quipe projet", + "required": [ + "project", + "itemtype", + "items_id" + ] + }, + "ProjectType": { + "x-itemtype": "ProjectType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de projet" + }, + "QueuedNotification": { + "x-itemtype": "QueuedNotification", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "notification_template": { + "type": "object", + "x-itemtype": "NotificationTemplate", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "NotificationTemplate" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_deleted": { + "type": "boolean", + "default": false + }, + "sent_try": { + "type": "integer", + "default": 0, + "description": "The number of times sending this notification has been attempted." + }, + "create_time": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time when the notification was created and queued for sending." + }, + "expected_send_date": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time when the notification is expected to be sent. This may be in the past for notifications that have already been sent, or in the future for notifications that are scheduled to be (re-)sent later." + }, + "send_date": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time when the notification was actually sent." + }, + "name": { + "type": "string" + }, + "sender": { + "type": "string" + }, + "sender_name": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "recipient_name": { + "type": "string" + }, + "replyto": { + "type": "string" + }, + "replyto_name": { + "type": "string" + }, + "headers": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string", + "format": "html" + }, + "message_id": { + "type": "string" + }, + "documents": { + "type": "string" + }, + "mode": { + "type": "string", + "description": " The mode of the notification template for the notification.\n Typically only \"mailing\" or \"ajax\", but there are a few other types known to GLPI but not directly used, or which may be added by plugins.\n - mailing: Email notification\n - ajax: Browser notification (client-initiated pull notifications, not real-time push notifications)\n - websocket: Not used by GLPI core\n - sms: Not used by GLPI core\n - xmpp: Not used by GLPI core\n - irc: Not used by GLPI core", + "maxLength": 20, + "enum": [ + "mailing", + "ajax", + "websocket", + "sms", + "xmpp", + "irc" + ] + }, + "event": { + "type": "string", + "maxLength": 255 + }, + "attach_documents": { + "type": "integer", + "enum": [ + 0, + 1, + 2 + ], + "description": "The way documents are attached to the notification. Possible values are:\n- 0 :No document\n- 1: All documents\n- 2: Only documents related to the item that triggers the event" + }, + "itemtype_trigger": { + "type": "string", + "maxLength": 255 + }, + "items_id_trigger": { + "type": "integer", + "format": "int64" + } + }, + "description": "File d'attente des notifications" + }, + "QueuedWebhook": { + "x-itemtype": "QueuedWebhook", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 255, + "readOnly": true + }, + "items_id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_deleted": { + "type": "boolean" + }, + "sent_try": { + "type": "integer", + "description": "The number of times this webhook has been tried to be sent.", + "readOnly": true + }, + "webhook": { + "type": "object", + "x-itemtype": "Webhook", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Webhook", + "readOnly": true + }, + "url": { + "type": "string", + "description": "The resolved URL the webhook will be sent to.", + "maxLength": 255, + "readOnly": true + }, + "create_time": { + "type": "string", + "format": "date-time", + "description": "The date and time when the webhook was queued.", + "readOnly": true + }, + "send_time": { + "type": "string", + "format": "date-time", + "description": "The date and time when the webhook is expected to be sent.", + "readOnly": true + }, + "sent_time": { + "type": "string", + "format": "date-time", + "description": "The last date and time when the webhook was tried to be sent.", + "readOnly": true + }, + "headers": { + "type": "string", + "description": "JSON encoded object containing the resolved headers that will be sent with the webhook request.", + "readOnly": true + }, + "body": { + "type": "string", + "description": "The resolved body that will be sent with the webhook request.", + "readOnly": true + }, + "event": { + "type": "string", + "description": "The event that triggered the webhook.", + "readOnly": true + }, + "last_status_code": { + "type": "integer", + "description": "The last HTTP status code received when trying to send the webhook.", + "readOnly": true + }, + "http_method": { + "type": "string", + "description": "The HTTP method used to send the webhook request.", + "enum": [ + "POST", + "GET", + "PUT", + "PATCH" + ], + "readOnly": true + } + }, + "description": "File d'attente des webhooks" + }, "RSSFeed": { "x-itemtype": "RSSFeed", "type": "object", @@ -15650,6 +21411,46 @@ }, "description": "Note personnelle" }, + "RemoteManagement": { + "x-itemtype": "Item_RemoteManagement", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string" + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "remoteid": { + "type": "string", + "maxLength": 255 + }, + "type": { + "type": "string", + "enum": [ + "teamviewer", + "litemanager", + "anydesk", + "meshcentral", + "supremo", + "rustdesk" + ] + }, + "is_deleted": { + "type": "boolean" + }, + "is_dynamic": { + "type": "boolean" + } + }, + "description": "Contr\u00f4le \u00e0 distance" + }, "RequestType": { "x-itemtype": "RequestType", "type": "object", @@ -16510,8 +22311,7 @@ "type": "boolean" }, "execution_time": { - "type": "integer", - "readOnly": true + "type": "integer" }, "operator": { "type": "string", @@ -16601,6 +22401,79 @@ }, "description": "Niveau de services" }, + "SNMPCredential": { + "x-itemtype": "SNMPCredential", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 64 + }, + "snmp_version": { + "type": "string", + "enum": [ + "1", + "2c", + "3" + ] + }, + "community": { + "type": "string", + "maxLength": 255 + }, + "username": { + "type": "string", + "maxLength": 255 + }, + "authentication": { + "type": "string", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "description": " - 1: MD5\n - 2: SHA\n - 3: SHA224\n - 4: SHA256\n - 5: SHA384\n - 6: SHA512" + }, + "auth_passphrase": { + "type": "string", + "maxLength": 255, + "writeOnly": true + }, + "encryption": { + "type": "string", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "description": " - 1: DES\n - 2: AES\n - 3: 3DES\n - 4: AES192C\n - 5: AES256C\n - 6: CFB192-AES\n - 7: CFB256-AES" + }, + "priv_passphrase": { + "type": "string", + "maxLength": 255, + "writeOnly": true + }, + "is_deleted": { + "type": "boolean" + } + }, + "description": "Identifiant SNMP", + "required": [ + "snmp_version" + ] + }, "Sensor": { "x-itemtype": "DeviceSensor", "type": "object", @@ -18521,6 +24394,36 @@ "x-right-scope": "entity" } } + }, + "helpdesk_hardware": { + "type": "integer", + "enum": [ + 0, + 1, + 2, + 3 + ], + "description": " Indicates the level of rights the user has regarding associating assets with assistance items (like tickets). Possible values:\n - 0: Cannot associate any assets with assistance items\n - 1: Can link their own assets with assistance items\n - 2: Can link any assets with assistance items\n - 3: Same as 2 but may see both \"My devices\" and \"All items\" in the web interface when associating assets with assistance items\n See 'helpdesk_item_type' for which item types can be associated when helpdesk_hardware is greater than 0." + }, + "helpdesk_item_type": { + "type": "string", + "description": "If helpdesk_hardware is greater than 0, this is a JSON-encoded string which indicates the item types that the user can associate with assistance items." + }, + "managed_domainrecordtypes": { + "type": "string", + "description": "A JSON-encoded string which indicates the IDs of domain record types that the user can manage. An array element with a value of -1 indicates that the user can manage all domain record types." + }, + "ticket_status": { + "type": "string", + "description": "JSON encoded object which indicates the status transitions the user can perform for tickets. For example, if the user can close a ticket that is solved. The keys are the source statuses. The values are an object with the keys as the target statuses and values as booleans indicating if it is allowed." + }, + "change_status": { + "type": "string", + "description": "JSON encoded object which indicates the status transitions the user can perform for changes. For example, if the user can close a change that is resolved. The keys are the source statuses. The values are an object with the keys as the target statuses and values as booleans indicating if it is allowed." + }, + "problem_status": { + "type": "string", + "description": "JSON encoded object which indicates the status transitions the user can perform for problems. For example, if the user can close a problem that is resolved. The keys are the source statuses. The values are an object with the keys as the target statuses and values as booleans indicating if it is allowed." } } }, @@ -18541,6 +24444,12 @@ "type": "integer" } } + }, + "groups": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -18830,6 +24739,18 @@ "date_mod": { "type": "string", "format": "date-time" + }, + "is_template": { + "type": "boolean", + "default": false + }, + "template_name": { + "type": "string" + }, + "ticket_tco": { + "type": "number", + "format": "float", + "minimum": 0 } }, "description": "Logiciel" @@ -19073,14 +24994,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "LicenseType" }, "group": { "type": "array", @@ -19759,84 +25680,64 @@ "x-full-schema": "State_Visibilities", "properties": { "computer": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "monitor": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "networkequipment": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "peripheral": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "phone": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "printer": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "softwarelicense": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "certificate": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "enclosure": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "pdu": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "line": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "rack": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "softwareversion": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "cluster": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "contract": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "appliance": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "databaseinstance": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "cable": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "unmanaged": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "passivedcequipment": { - "type": "boolean", - "readOnly": true + "type": "boolean" } } } @@ -19846,90 +25747,112 @@ "type": "object", "properties": { "computer": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "monitor": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "networkequipment": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "peripheral": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "phone": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "printer": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "softwarelicense": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "certificate": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "enclosure": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "pdu": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "line": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "rack": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "softwareversion": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "cluster": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "contract": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "appliance": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "databaseinstance": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "cable": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "unmanaged": { - "type": "boolean", - "readOnly": true + "type": "boolean" }, "passivedcequipment": { - "type": "boolean", - "readOnly": true + "type": "boolean" } } }, + "Stencil": { + "x-itemtype": "Stencil", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "number_zones": { + "type": "integer", + "minimum": 1, + "maximum": 256, + "default": 1 + }, + "zones": { + "type": "string", + "description": " JSON encoded object of zone definitions. Each zone definition is an object with at least the following properties:\n - \"number\": The zone number\n - \"label\": The zone label\n - \"side\": 0 - Front, 1 - Back\n - \"selection\": The zone selection object, which contains:\n - \"x\": The x coordinate of the selection\n - \"y\": The y coordinate of the selection\n - \"width\": The width of the selection\n - \"height\": The height of the selection\n - \"image\": The JS canvas context 2D transform data (DOMMatrix) to apply to the zone\n - \"x_percent\": The x coordinate of the zone in percentage of the total width\n - \"y_percent\": The y coordinate of the zone in percentage of the total height\n - \"width_percent\": The width of the zone in percentage of the total width\n - \"height_percent\": The height of the zone in percentage of the total height" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Zone graphique", + "required": [ + "itemtype", + "items_id" + ] + }, "Supplier": { - "x-itemtype": "Supplier", "type": "object", + "x-itemtype": "Supplier", "properties": { "id": { "type": "integer", @@ -19972,14 +25895,14 @@ "properties": { "id": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "name": { "type": "string", "readOnly": true } - } + }, + "x-full-schema": "SupplierType" }, "is_deleted": { "type": "boolean" @@ -19987,6 +25910,33 @@ }, "description": "Fournisseur" }, + "SupplierType": { + "x-itemtype": "SupplierType", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Type de tiers" + }, "Systemboard": { "x-itemtype": "DeviceMotherboard", "type": "object", @@ -20526,8 +26476,7 @@ }, "resolution_date": { "type": "string", - "format": "date-time", - "readOnly": true + "format": "date-time" }, "date_creation": { "type": "string", @@ -20577,8 +26526,7 @@ }, "take_into_account_date": { "type": "string", - "format": "date-time", - "readOnly": true + "format": "date-time" }, "take_into_account_duration": { "type": "integer", @@ -20697,13 +26645,11 @@ }, "internal_resolution_date": { "type": "string", - "format": "date-time", - "readOnly": true + "format": "date-time" }, "internal_take_into_account_date": { "type": "string", - "format": "date-time", - "readOnly": true + "format": "date-time" }, "global_validation": { "type": "integer", @@ -20780,11 +26726,117 @@ }, "x-full-schema": "TeamMember" } + }, + "costs": { + "type": "array", + "items": { + "type": "object", + "x-full-schema": "TicketCost", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + } + } + } } }, "x-itemtype": "Ticket", "description": "Ticket" }, + "TicketCost": { + "x-itemtype": "TicketCost", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "ticket": { + "type": "object", + "x-itemtype": "Ticket", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Ticket" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "date_begin": { + "type": "string", + "format": "date-time" + }, + "date_end": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "integer", + "format": "int32" + }, + "cost_time": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "cost_fixed": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "cost_material": { + "type": "number", + "format": "float", + "minimum": 0 + }, + "budget": { + "type": "object", + "x-itemtype": "Budget", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Budget" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + } + }, + "description": "Co\u00fbt" + }, "TicketSatisfaction": { "x-itemtype": "TicketSatisfaction", "type": "object", @@ -21103,7 +27155,7 @@ 3, 4 ], - "description": "The status of the validation.\n- 0: None\n- 1: Waiting\n- 2: Accepted\n- 3: Refused" + "description": "The status of the validation.\n- 1: None\n- 2: Waiting\n- 3: Accepted\n- 4: Refused" }, "submission_date": { "type": "string", @@ -21453,6 +27505,61 @@ } }, "x-full-schema": "AutoUpdateSystem" + }, + "is_dynamic": { + "type": "boolean", + "default": false + }, + "sysdescr": { + "type": "string" + }, + "agent": { + "type": "object", + "x-itemtype": "Agent", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Agent" + }, + "itemtype": { + "type": "string", + "maxLength": 100 + }, + "accepted": { + "type": "boolean" + }, + "is_hub": { + "type": "boolean" + }, + "ip": { + "type": "string" + }, + "snmp_credential": { + "type": "object", + "x-itemtype": "SNMPCredential", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "SNMPCredential" + }, + "last_inventory_update": { + "type": "string", + "format": "date-time", + "readOnly": true } }, "description": "Actif non g\u00e9r\u00e9" @@ -22091,427 +28198,6 @@ }, "timezone": { "type": "string", - "enum": [ - "Africa\/Abidjan", - "Africa\/Accra", - "Africa\/Addis_Ababa", - "Africa\/Algiers", - "Africa\/Asmara", - "Africa\/Bamako", - "Africa\/Bangui", - "Africa\/Banjul", - "Africa\/Bissau", - "Africa\/Blantyre", - "Africa\/Brazzaville", - "Africa\/Bujumbura", - "Africa\/Cairo", - "Africa\/Casablanca", - "Africa\/Ceuta", - "Africa\/Conakry", - "Africa\/Dakar", - "Africa\/Dar_es_Salaam", - "Africa\/Djibouti", - "Africa\/Douala", - "Africa\/El_Aaiun", - "Africa\/Freetown", - "Africa\/Gaborone", - "Africa\/Harare", - "Africa\/Johannesburg", - "Africa\/Juba", - "Africa\/Kampala", - "Africa\/Khartoum", - "Africa\/Kigali", - "Africa\/Kinshasa", - "Africa\/Lagos", - "Africa\/Libreville", - "Africa\/Lome", - "Africa\/Luanda", - "Africa\/Lubumbashi", - "Africa\/Lusaka", - "Africa\/Malabo", - "Africa\/Maputo", - "Africa\/Maseru", - "Africa\/Mbabane", - "Africa\/Mogadishu", - "Africa\/Monrovia", - "Africa\/Nairobi", - "Africa\/Ndjamena", - "Africa\/Niamey", - "Africa\/Nouakchott", - "Africa\/Ouagadougou", - "Africa\/Porto-Novo", - "Africa\/Sao_Tome", - "Africa\/Tripoli", - "Africa\/Tunis", - "Africa\/Windhoek", - "America\/Adak", - "America\/Anchorage", - "America\/Anguilla", - "America\/Antigua", - "America\/Araguaina", - "America\/Argentina\/Buenos_Aires", - "America\/Argentina\/Catamarca", - "America\/Argentina\/Cordoba", - "America\/Argentina\/Jujuy", - "America\/Argentina\/La_Rioja", - "America\/Argentina\/Mendoza", - "America\/Argentina\/Rio_Gallegos", - "America\/Argentina\/Salta", - "America\/Argentina\/San_Juan", - "America\/Argentina\/San_Luis", - "America\/Argentina\/Tucuman", - "America\/Argentina\/Ushuaia", - "America\/Aruba", - "America\/Asuncion", - "America\/Atikokan", - "America\/Bahia", - "America\/Bahia_Banderas", - "America\/Barbados", - "America\/Belem", - "America\/Belize", - "America\/Blanc-Sablon", - "America\/Boa_Vista", - "America\/Bogota", - "America\/Boise", - "America\/Cambridge_Bay", - "America\/Campo_Grande", - "America\/Cancun", - "America\/Caracas", - "America\/Cayenne", - "America\/Cayman", - "America\/Chicago", - "America\/Chihuahua", - "America\/Ciudad_Juarez", - "America\/Costa_Rica", - "America\/Coyhaique", - "America\/Creston", - "America\/Cuiaba", - "America\/Curacao", - "America\/Danmarkshavn", - "America\/Dawson", - "America\/Dawson_Creek", - "America\/Denver", - "America\/Detroit", - "America\/Dominica", - "America\/Edmonton", - "America\/Eirunepe", - "America\/El_Salvador", - "America\/Fort_Nelson", - "America\/Fortaleza", - "America\/Glace_Bay", - "America\/Goose_Bay", - "America\/Grand_Turk", - "America\/Grenada", - "America\/Guadeloupe", - "America\/Guatemala", - "America\/Guayaquil", - "America\/Guyana", - "America\/Halifax", - "America\/Havana", - "America\/Hermosillo", - "America\/Indiana\/Indianapolis", - "America\/Indiana\/Knox", - "America\/Indiana\/Marengo", - "America\/Indiana\/Petersburg", - "America\/Indiana\/Tell_City", - "America\/Indiana\/Vevay", - "America\/Indiana\/Vincennes", - "America\/Indiana\/Winamac", - "America\/Inuvik", - "America\/Iqaluit", - "America\/Jamaica", - "America\/Juneau", - "America\/Kentucky\/Louisville", - "America\/Kentucky\/Monticello", - "America\/Kralendijk", - "America\/La_Paz", - "America\/Lima", - "America\/Los_Angeles", - "America\/Lower_Princes", - "America\/Maceio", - "America\/Managua", - "America\/Manaus", - "America\/Marigot", - "America\/Martinique", - "America\/Matamoros", - "America\/Mazatlan", - "America\/Menominee", - "America\/Merida", - "America\/Metlakatla", - "America\/Mexico_City", - "America\/Miquelon", - "America\/Moncton", - "America\/Monterrey", - "America\/Montevideo", - "America\/Montserrat", - "America\/Nassau", - "America\/New_York", - "America\/Nome", - "America\/Noronha", - "America\/North_Dakota\/Beulah", - "America\/North_Dakota\/Center", - "America\/North_Dakota\/New_Salem", - "America\/Nuuk", - "America\/Ojinaga", - "America\/Panama", - "America\/Paramaribo", - "America\/Phoenix", - "America\/Port-au-Prince", - "America\/Port_of_Spain", - "America\/Porto_Velho", - "America\/Puerto_Rico", - "America\/Punta_Arenas", - "America\/Rankin_Inlet", - "America\/Recife", - "America\/Regina", - "America\/Resolute", - "America\/Rio_Branco", - "America\/Santarem", - "America\/Santiago", - "America\/Santo_Domingo", - "America\/Sao_Paulo", - "America\/Scoresbysund", - "America\/Sitka", - "America\/St_Barthelemy", - "America\/St_Johns", - "America\/St_Kitts", - "America\/St_Lucia", - "America\/St_Thomas", - "America\/St_Vincent", - "America\/Swift_Current", - "America\/Tegucigalpa", - "America\/Thule", - "America\/Tijuana", - "America\/Toronto", - "America\/Tortola", - "America\/Vancouver", - "America\/Whitehorse", - "America\/Winnipeg", - "America\/Yakutat", - "Antarctica\/Casey", - "Antarctica\/Davis", - "Antarctica\/DumontDUrville", - "Antarctica\/Macquarie", - "Antarctica\/Mawson", - "Antarctica\/McMurdo", - "Antarctica\/Palmer", - "Antarctica\/Rothera", - "Antarctica\/Syowa", - "Antarctica\/Troll", - "Antarctica\/Vostok", - "Arctic\/Longyearbyen", - "Asia\/Aden", - "Asia\/Almaty", - "Asia\/Amman", - "Asia\/Anadyr", - "Asia\/Aqtau", - "Asia\/Aqtobe", - "Asia\/Ashgabat", - "Asia\/Atyrau", - "Asia\/Baghdad", - "Asia\/Bahrain", - "Asia\/Baku", - "Asia\/Bangkok", - "Asia\/Barnaul", - "Asia\/Beirut", - "Asia\/Bishkek", - "Asia\/Brunei", - "Asia\/Chita", - "Asia\/Colombo", - "Asia\/Damascus", - "Asia\/Dhaka", - "Asia\/Dili", - "Asia\/Dubai", - "Asia\/Dushanbe", - "Asia\/Famagusta", - "Asia\/Gaza", - "Asia\/Hebron", - "Asia\/Ho_Chi_Minh", - "Asia\/Hong_Kong", - "Asia\/Hovd", - "Asia\/Irkutsk", - "Asia\/Jakarta", - "Asia\/Jayapura", - "Asia\/Jerusalem", - "Asia\/Kabul", - "Asia\/Kamchatka", - "Asia\/Karachi", - "Asia\/Kathmandu", - "Asia\/Khandyga", - "Asia\/Kolkata", - "Asia\/Krasnoyarsk", - "Asia\/Kuala_Lumpur", - "Asia\/Kuching", - "Asia\/Kuwait", - "Asia\/Macau", - "Asia\/Magadan", - "Asia\/Makassar", - "Asia\/Manila", - "Asia\/Muscat", - "Asia\/Nicosia", - "Asia\/Novokuznetsk", - "Asia\/Novosibirsk", - "Asia\/Omsk", - "Asia\/Oral", - "Asia\/Phnom_Penh", - "Asia\/Pontianak", - "Asia\/Pyongyang", - "Asia\/Qatar", - "Asia\/Qostanay", - "Asia\/Qyzylorda", - "Asia\/Riyadh", - "Asia\/Sakhalin", - "Asia\/Samarkand", - "Asia\/Seoul", - "Asia\/Shanghai", - "Asia\/Singapore", - "Asia\/Srednekolymsk", - "Asia\/Taipei", - "Asia\/Tashkent", - "Asia\/Tbilisi", - "Asia\/Tehran", - "Asia\/Thimphu", - "Asia\/Tokyo", - "Asia\/Tomsk", - "Asia\/Ulaanbaatar", - "Asia\/Urumqi", - "Asia\/Ust-Nera", - "Asia\/Vientiane", - "Asia\/Vladivostok", - "Asia\/Yakutsk", - "Asia\/Yangon", - "Asia\/Yekaterinburg", - "Asia\/Yerevan", - "Atlantic\/Azores", - "Atlantic\/Bermuda", - "Atlantic\/Canary", - "Atlantic\/Cape_Verde", - "Atlantic\/Faroe", - "Atlantic\/Madeira", - "Atlantic\/Reykjavik", - "Atlantic\/South_Georgia", - "Atlantic\/St_Helena", - "Atlantic\/Stanley", - "Australia\/Adelaide", - "Australia\/Brisbane", - "Australia\/Broken_Hill", - "Australia\/Darwin", - "Australia\/Eucla", - "Australia\/Hobart", - "Australia\/Lindeman", - "Australia\/Lord_Howe", - "Australia\/Melbourne", - "Australia\/Perth", - "Australia\/Sydney", - "Europe\/Amsterdam", - "Europe\/Andorra", - "Europe\/Astrakhan", - "Europe\/Athens", - "Europe\/Belgrade", - "Europe\/Berlin", - "Europe\/Bratislava", - "Europe\/Brussels", - "Europe\/Bucharest", - "Europe\/Budapest", - "Europe\/Busingen", - "Europe\/Chisinau", - "Europe\/Copenhagen", - "Europe\/Dublin", - "Europe\/Gibraltar", - "Europe\/Guernsey", - "Europe\/Helsinki", - "Europe\/Isle_of_Man", - "Europe\/Istanbul", - "Europe\/Jersey", - "Europe\/Kaliningrad", - "Europe\/Kirov", - "Europe\/Kyiv", - "Europe\/Lisbon", - "Europe\/Ljubljana", - "Europe\/London", - "Europe\/Luxembourg", - "Europe\/Madrid", - "Europe\/Malta", - "Europe\/Mariehamn", - "Europe\/Minsk", - "Europe\/Monaco", - "Europe\/Moscow", - "Europe\/Oslo", - "Europe\/Paris", - "Europe\/Podgorica", - "Europe\/Prague", - "Europe\/Riga", - "Europe\/Rome", - "Europe\/Samara", - "Europe\/San_Marino", - "Europe\/Sarajevo", - "Europe\/Saratov", - "Europe\/Simferopol", - "Europe\/Skopje", - "Europe\/Sofia", - "Europe\/Stockholm", - "Europe\/Tallinn", - "Europe\/Tirane", - "Europe\/Ulyanovsk", - "Europe\/Vaduz", - "Europe\/Vatican", - "Europe\/Vienna", - "Europe\/Vilnius", - "Europe\/Volgograd", - "Europe\/Warsaw", - "Europe\/Zagreb", - "Europe\/Zurich", - "Indian\/Antananarivo", - "Indian\/Chagos", - "Indian\/Christmas", - "Indian\/Cocos", - "Indian\/Comoro", - "Indian\/Kerguelen", - "Indian\/Mahe", - "Indian\/Maldives", - "Indian\/Mauritius", - "Indian\/Mayotte", - "Indian\/Reunion", - "Pacific\/Apia", - "Pacific\/Auckland", - "Pacific\/Bougainville", - "Pacific\/Chatham", - "Pacific\/Chuuk", - "Pacific\/Easter", - "Pacific\/Efate", - "Pacific\/Fakaofo", - "Pacific\/Fiji", - "Pacific\/Funafuti", - "Pacific\/Galapagos", - "Pacific\/Gambier", - "Pacific\/Guadalcanal", - "Pacific\/Guam", - "Pacific\/Honolulu", - "Pacific\/Kanton", - "Pacific\/Kiritimati", - "Pacific\/Kosrae", - "Pacific\/Kwajalein", - "Pacific\/Majuro", - "Pacific\/Marquesas", - "Pacific\/Midway", - "Pacific\/Nauru", - "Pacific\/Niue", - "Pacific\/Norfolk", - "Pacific\/Noumea", - "Pacific\/Pago_Pago", - "Pacific\/Palau", - "Pacific\/Pitcairn", - "Pacific\/Pohnpei", - "Pacific\/Port_Moresby", - "Pacific\/Rarotonga", - "Pacific\/Saipan", - "Pacific\/Tahiti", - "Pacific\/Tarawa", - "Pacific\/Tongatapu", - "Pacific\/Wake", - "Pacific\/Wallis", - "UTC" - ], "maxLength": 50 } } @@ -22610,6 +28296,118 @@ }, "description": "Gabarit de validation" }, + "VirtualMachine": { + "x-itemtype": "ItemVirtualMachine", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string" + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "state": { + "type": "object", + "x-itemtype": "VirtualMachineState", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "VirtualMachineState" + }, + "system": { + "type": "object", + "x-itemtype": "VirtualMachineSystem", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "VirtualMachineModel" + }, + "type": { + "type": "object", + "x-itemtype": "VirtualMachineType", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "VirtualMachineType" + }, + "uuid": { + "type": "string" + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "ram": { + "type": "integer", + "format": "int32" + }, + "is_deleted": { + "type": "boolean" + }, + "is_dynamic": { + "type": "boolean" + }, + "comment": { + "type": "string" + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Virtualisation" + }, "VirtualMachineModel": { "type": "object", "x-itemtype": "VirtualMachineSystem", @@ -22688,6 +28486,307 @@ }, "description": "Syst\u00e8me de virtualisation" }, + "Volume": { + "x-itemtype": "Item_Disk", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemtype": { + "type": "string" + }, + "items_id": { + "type": "integer", + "format": "int64" + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "device": { + "type": "string", + "description": "The device\/partition path, e.g. \/dev\/sda1", + "maxLength": 255 + }, + "mount_point": { + "type": "string", + "description": "The mount point of the volume, e.g. \/home", + "maxLength": 255 + }, + "filesystem": { + "type": "object", + "x-itemtype": "Filesystem", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Filesystem" + }, + "total_size": { + "type": "integer", + "format": "int64" + }, + "free_size": { + "type": "integer", + "format": "int64" + }, + "is_deleted": { + "type": "boolean" + }, + "is_dynamic": { + "type": "boolean" + }, + "encryption_status": { + "type": "integer", + "enum": [ + 0, + 1, + 2 + ], + "description": " Encryption status of the volume:\n - 0: No encryption\n - 1: Fully encrypted\n - 2: Partially encrypted" + }, + "encryption_tool": { + "type": "string", + "maxLength": 255 + }, + "encryption_algorithm": { + "type": "string", + "maxLength": 255 + }, + "encryption_type": { + "type": "string", + "maxLength": 255 + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Volume" + }, + "Webhook": { + "x-itemtype": "Webhook", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "entity": { + "type": "object", + "x-itemtype": "Entity", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "Entity" + }, + "is_recursive": { + "type": "boolean" + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "comment": { + "type": "string" + }, + "category": { + "type": "object", + "x-itemtype": "WebhookCategory", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "WebhookCategory" + }, + "itemtype": { + "type": "string", + "maxLength": 255 + }, + "event": { + "type": "string", + "maxLength": 255 + }, + "payload": { + "type": "string" + }, + "use_default_payload": { + "type": "boolean", + "description": "If true, the entire JSON output from the API for the item will be used" + }, + "custom_headers": { + "type": "string", + "description": "JSON encoded object containing custom headers to add to the webhook request. The header names and values are Twig templates that can use any property of the item as a variable." + }, + "url": { + "type": "string", + "description": "The URL to send the webhook request to. This is a Twig template that can use any property of the item as a variable." + }, + "secret": { + "type": "string", + "description": "A secret value that can be shared with a target server to allow it to validate requests are actually coming from the GLPI server and that the content was not modified between GLPI and the target." + }, + "use_cra_challenge": { + "type": "boolean", + "description": "Whether to use a Challenge-Response Authentication mechanism to validate the target server.", + "default": false + }, + "http_method": { + "type": "string", + "enum": [ + "POST", + "GET", + "PUT", + "PATCH" + ], + "default": "POST" + }, + "sent_try": { + "type": "integer", + "default": 0, + "description": "The number of times this webhook will try to be sent." + }, + "is_active": { + "type": "boolean", + "default": false + }, + "save_response_body": { + "type": "boolean", + "description": "If true and if response saving is globally allowed (disabled by default), the response body of the webhook request will be saved in the queued webhook data. This is only intended for debugging purposes.", + "default": false + }, + "log_in_item_history": { + "type": "boolean", + "description": "Whether to log webhook calls in the related item's history.", + "default": false + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + }, + "use_oauth": { + "type": "boolean", + "description": "Whether to use OAuth 2.0 authentication when sending the webhook request.", + "default": false + }, + "oauth_url": { + "type": "string", + "description": "The URL to obtain the OAuth 2.0 access token.", + "maxLength": 255 + }, + "clientid": { + "type": "string", + "description": "The OAuth 2.0 client ID.", + "maxLength": 255 + }, + "clientsecret": { + "type": "string", + "description": "The OAuth 2.0 client secret.", + "maxLength": 255, + "writeOnly": true + } + }, + "description": "Webhook" + }, + "WebhookCategory": { + "x-itemtype": "WebhookCategory", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 255 + }, + "completename": { + "type": "string", + "maxLength": 1024, + "readOnly": true + }, + "comment": { + "type": "string" + }, + "parent": { + "type": "object", + "x-itemtype": "WebhookCategory", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "readOnly": true + } + }, + "x-full-schema": "WebhookCategory" + }, + "level": { + "type": "integer", + "readOnly": true + }, + "date_creation": { + "type": "string", + "format": "date-time" + }, + "date_mod": { + "type": "string", + "format": "date-time" + } + }, + "description": "Cat\u00e9gorie du webhook" + }, "WifiNetwork": { "type": "object", "x-itemtype": "WifiNetwork", @@ -24469,6 +30568,104 @@ ] } }, + "\/locales": { + "get": { + "tags": [ + "Localization" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the localization strings", + "parameters": [ + { + "name": "domain", + "description": "", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, "\/Assets\/": { "get": { "tags": [ @@ -53628,78 +59825,139 @@ ] } }, - "\/Assets\/Custom\/": { - "get": { + "\/Assets\/Computer\/{asset_id}\/Antivirus": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" } } } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Add an antivirus to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" }, - "application\/xml": { + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { "schema": { "type": "array", "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -53721,8 +59979,54 @@ "description": "Internal server error" } }, - "description": "Get all available custom asset types", + "description": "List or search antiviruses installed on an asset", "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -53783,36 +60087,139 @@ ] } }, - "\/Assets\/Custom\/servers": { - "get": { + "\/Assets\/Monitor\/{asset_id}\/Antivirus": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Add an antivirus to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" }, - "application\/xml": { + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -53834,7 +60241,7 @@ "description": "Internal server error" } }, - "description": "List or search custom assets of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { "name": "filter", @@ -53940,10 +60347,12 @@ ] } ] - }, + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Antivirus": { "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "201": { @@ -53990,7 +60399,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -54047,7 +60456,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -54059,12 +60468,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/storagearrays": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -54074,23 +60481,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -54112,7 +60503,7 @@ "description": "Internal server error" } }, - "description": "List or search custom assets of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { "name": "filter", @@ -54218,10 +60609,12 @@ ] } ] - }, + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Antivirus": { "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "201": { @@ -54268,7 +60661,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -54325,7 +60718,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -54337,12 +60730,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/enclosures": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -54352,23 +60743,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -54390,7 +60765,7 @@ "description": "Internal server error" } }, - "description": "List or search custom assets of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { "name": "filter", @@ -54496,10 +60871,12 @@ ] } ] - }, + } + }, + "\/Assets\/Phone\/{asset_id}\/Antivirus": { "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "201": { @@ -54546,7 +60923,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -54603,7 +60980,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -54615,12 +60992,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/PDUs": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -54630,23 +61005,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -54668,7 +61027,7 @@ "description": "Internal server error" } }, - "description": "List or search custom assets of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { "name": "filter", @@ -54774,10 +61133,12 @@ ] } ] - }, + } + }, + "\/Assets\/Printer\/{asset_id}\/Antivirus": { "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "201": { @@ -54824,7 +61185,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -54881,7 +61242,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -54893,12 +61254,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/servers\/{id}": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -54906,17 +61265,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Antivirus" + } } } } @@ -54937,18 +61289,53 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -55008,18 +61395,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Antivirus": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -55040,19 +61447,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -55108,7 +61504,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -55121,13 +61517,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + } }, "400": { "description": "Bad request" @@ -55145,27 +61551,53 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -55227,28 +61659,36 @@ ] } }, - "\/Assets\/Custom\/storagearrays\/{id}": { - "get": { + "\/Assets\/Certificate\/{asset_id}\/Antivirus": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -55269,19 +61709,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -55333,6 +61762,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + }, "security": [ { "oauth": [ @@ -55341,17 +61779,20 @@ } ] }, - "patch": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Antivirus" + } } } } @@ -55372,18 +61813,53 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -55436,15 +61912,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - } - }, "security": [ { "oauth": [ @@ -55452,14 +61919,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/Antivirus": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -55477,28 +61971,8 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -55550,6 +62024,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + }, "security": [ { "oauth": [ @@ -55557,12 +62040,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/enclosures\/{id}": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -55570,17 +62051,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Antivirus" + } } } } @@ -55601,18 +62075,53 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -55672,18 +62181,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/Appliance\/{asset_id}\/Antivirus": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -55704,19 +62233,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset of a specific type", + "description": "Add an antivirus to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -55772,7 +62290,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -55785,13 +62303,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + } }, "400": { "description": "Bad request" @@ -55809,27 +62337,53 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset of a specific type", + "description": "List or search antiviruses installed on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -55891,10 +62445,10 @@ ] } }, - "\/Assets\/Custom\/PDUs\/{id}": { + "\/Assets\/Computer\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -55902,17 +62456,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -55933,19 +62487,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -56007,15 +62550,15 @@ }, "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}", + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56036,19 +62579,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -56104,7 +62636,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56119,7 +62651,7 @@ }, "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "204": { @@ -56141,19 +62673,8 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -56223,10 +62744,10 @@ ] } }, - "\/Assets\/Custom\/serversModel": { + "\/Assets\/Monitor\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -56234,26 +62755,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56274,54 +62786,8 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -56381,35 +62847,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56430,7 +62878,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset model of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ { "name": "GLPI-Entity", @@ -56487,7 +62935,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56499,12 +62947,106 @@ ] } ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete an antivirus by the antivirus ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] } }, - "\/Assets\/Custom\/storagearraysModel": { + "\/Assets\/NetworkEquipment\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -56512,26 +63054,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56552,54 +63085,8 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -56659,35 +63146,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56708,7 +63177,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset model of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ { "name": "GLPI-Entity", @@ -56765,7 +63234,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56777,42 +63246,14 @@ ] } ] - } - }, - "\/Assets\/Custom\/enclosuresModel": { - "get": { + }, + "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -56830,53 +63271,16 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -56936,36 +63340,30 @@ ] } ] - }, - "post": { + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Antivirus\/{id}": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Antivirus" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -56986,7 +63384,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset model of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ { "name": "GLPI-Entity", @@ -57039,15 +63437,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - } - }, "security": [ { "oauth": [ @@ -57055,39 +63444,18 @@ ] } ] - } - }, - "\/Assets\/Custom\/PDUsModel": { - "get": { + }, + "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -57108,54 +63476,8 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -57207,6 +63529,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + }, "security": [ { "oauth": [ @@ -57215,38 +63546,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -57264,8 +63570,17 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset model of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -57317,15 +63632,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - } - }, "security": [ { "oauth": [ @@ -57335,10 +63641,10 @@ ] } }, - "\/Assets\/Custom\/serversModel\/{id}": { + "\/Assets\/Phone\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -57346,17 +63652,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -57377,19 +63683,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset model of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -57451,15 +63746,15 @@ }, "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}Model", + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -57480,19 +63775,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset model of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -57548,7 +63832,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -57563,7 +63847,7 @@ }, "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "204": { @@ -57585,19 +63869,8 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset model of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -57667,10 +63940,10 @@ ] } }, - "\/Assets\/Custom\/storagearraysModel\/{id}": { + "\/Assets\/Printer\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -57678,17 +63951,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -57709,19 +63982,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset model of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -57783,15 +64045,15 @@ }, "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}Model", + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -57812,19 +64074,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset model of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -57880,7 +64131,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -57895,7 +64146,7 @@ }, "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "204": { @@ -57917,19 +64168,8 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset model of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -57999,10 +64239,10 @@ ] } }, - "\/Assets\/Custom\/enclosuresModel\/{id}": { + "\/Assets\/SoftwareLicense\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -58010,17 +64250,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58041,19 +64281,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset model of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -58115,15 +64344,15 @@ }, "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}Model", + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58144,19 +64373,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset model of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -58212,7 +64430,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58227,7 +64445,7 @@ }, "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "204": { @@ -58249,19 +64467,8 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset model of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -58331,10 +64538,10 @@ ] } }, - "\/Assets\/Custom\/PDUsModel\/{id}": { + "\/Assets\/Certificate\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -58342,17 +64549,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58373,19 +64580,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset model of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -58447,15 +64643,15 @@ }, "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}Model", + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58476,19 +64672,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset model of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -58544,7 +64729,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58559,7 +64744,7 @@ }, "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "204": { @@ -58581,19 +64766,8 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset model of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -58663,10 +64837,10 @@ ] } }, - "\/Assets\/Custom\/serversType": { + "\/Assets\/Unmanaged\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -58674,26 +64848,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58714,54 +64879,100 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "string", + "enum": [ + "true", + "false" + ] + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", "schema": { - "type": "string", - "format": "string" + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Antivirus", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing antivirus by the antivirus ID", + "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -58813,6 +65024,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Antivirus" + } + } + } + }, "security": [ { "oauth": [ @@ -58821,38 +65041,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -58870,8 +65065,17 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset type of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -58923,15 +65127,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - } - }, "security": [ { "oauth": [ @@ -58941,10 +65136,10 @@ ] } }, - "\/Assets\/Custom\/storagearraysType": { + "\/Assets\/Appliance\/{asset_id}\/Antivirus\/{id}": { "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -58952,26 +65147,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } + "$ref": "#\/components\/schemas\/Antivirus" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -58992,54 +65178,8 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "Get an existing antivirus by the antivirus ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -59099,35 +65239,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Antivirus", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -59148,7 +65270,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset type of a specific type", + "description": "Update an existing antivirus by the antivirus ID", "parameters": [ { "name": "GLPI-Entity", @@ -59205,7 +65327,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + "$ref": "#\/components\/schemas\/Antivirus" } } } @@ -59217,42 +65339,14 @@ ] } ] - } - }, - "\/Assets\/Custom\/enclosuresType": { - "get": { + }, + "delete": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -59270,53 +65364,16 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "Delete an antivirus by the antivirus ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -59376,10 +65433,12 @@ ] } ] - }, + } + }, + "\/Assets\/Computer\/{asset_id}\/VirtualMachine": { "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "201": { @@ -59426,7 +65485,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset type of a specific type", + "description": "Add a virtual machine or container to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -59483,7 +65542,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -59495,12 +65554,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/PDUsType": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -59510,23 +65567,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -59548,7 +65589,7 @@ "description": "Internal server error" } }, - "description": "List or search custom asset models of a specific type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { "name": "filter", @@ -59654,10 +65695,12 @@ ] } ] - }, + } + }, + "\/Assets\/Monitor\/{asset_id}\/VirtualMachine": { "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "201": { @@ -59704,7 +65747,7 @@ "description": "Internal server error" } }, - "description": "Create a new custom asset type of a specific type", + "description": "Add a virtual machine or container to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -59761,7 +65804,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -59773,12 +65816,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/serversType\/{id}": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -59786,17 +65827,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } } } } @@ -59817,18 +65851,53 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset type of a specific type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -59888,18 +65957,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/VirtualMachine": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Type", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -59920,19 +66009,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset type of a specific type", + "description": "Add a virtual machine or container to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -59988,7 +66066,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -60001,13 +66079,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + } }, "400": { "description": "Bad request" @@ -60025,27 +66113,53 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset type of a specific type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -60107,28 +66221,36 @@ ] } }, - "\/Assets\/Custom\/storagearraysType\/{id}": { - "get": { + "\/Assets\/Peripheral\/{asset_id}\/VirtualMachine": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -60149,19 +66271,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset type of a specific type", + "description": "Add a virtual machine or container to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -60213,6 +66324,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -60221,17 +66341,20 @@ } ] }, - "patch": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}Type", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } } } } @@ -60252,18 +66375,53 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset type of a specific type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -60316,15 +66474,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - } - }, "security": [ { "oauth": [ @@ -60332,14 +66481,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Assets\/Phone\/{asset_id}\/VirtualMachine": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -60357,28 +66533,8 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset type of a specific type", + "description": "Add a virtual machine or container to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -60430,6 +66586,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -60437,12 +66602,10 @@ ] } ] - } - }, - "\/Assets\/Custom\/enclosuresType\/{id}": { + }, "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { @@ -60450,17 +66613,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } } } } @@ -60481,18 +66637,53 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset type of a specific type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -60552,18 +66743,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/Printer\/{asset_id}\/VirtualMachine": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Type", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -60584,19 +66795,8 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset type of a specific type", + "description": "Add a virtual machine or container to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -60652,7 +66852,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -60665,13 +66865,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + } }, "400": { "description": "Bad request" @@ -60689,27 +66899,53 @@ "description": "Internal server error" } }, - "description": "Delete a custom asset type of a specific type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -60771,28 +67007,36 @@ ] } }, - "\/Assets\/Custom\/PDUsType\/{id}": { - "get": { + "\/Assets\/SoftwareLicense\/{asset_id}\/VirtualMachine": { + "post": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -60813,19 +67057,8 @@ "description": "Internal server error" } }, - "description": "Get an existing custom asset type of a specific type", + "description": "Add a virtual machine or container to an asset", "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -60877,6 +67110,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -60885,17 +67127,20 @@ } ] }, - "patch": { + "get": { "tags": [ - "Custom Assets" + "Assets" ], "responses": { "200": { - "description": "The updated CustomAsset_{itemtype}Type", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } } } } @@ -60916,132 +67161,53 @@ "description": "Internal server error" } }, - "description": "Update an existing custom asset type of a specific type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "enum": [ - "true", - "false" - ] - } + "format": "string" + }, + "example": null }, { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64", + "default": 0 }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" + "example": null }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset type of a specific type", - "parameters": [ { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null }, { - "name": "force", + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -61103,77 +67269,34 @@ ] } }, - "\/Components": { - "get": { + "\/Assets\/Certificate\/{asset_id}\/VirtualMachine": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" } } } @@ -61196,7 +67319,7 @@ "description": "Internal server error" } }, - "description": "Get all available component types", + "description": "Add a virtual machine or container to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -61249,6 +67372,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -61256,12 +67388,10 @@ ] } ] - } - }, - "\/Components\/Battery": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -61271,23 +67401,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Battery" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Battery" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Battery" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -61309,7 +67423,7 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { "name": "filter", @@ -61415,10 +67529,12 @@ ] } ] - }, + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/VirtualMachine": { "post": { "tags": [ - "Components" + "Assets" ], "responses": { "201": { @@ -61465,7 +67581,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Add a virtual machine or container to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -61522,7 +67638,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Battery" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -61534,12 +67650,10 @@ ] } ] - } - }, - "\/Components\/Camera": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -61549,23 +67663,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Camera" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Camera" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Camera" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -61587,7 +67685,7 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { "name": "filter", @@ -61693,10 +67791,12 @@ ] } ] - }, + } + }, + "\/Assets\/Appliance\/{asset_id}\/VirtualMachine": { "post": { "tags": [ - "Components" + "Assets" ], "responses": { "201": { @@ -61743,7 +67843,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Add a virtual machine or container to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -61800,7 +67900,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Camera" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -61812,12 +67912,10 @@ ] } ] - } - }, - "\/Components\/Case": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -61827,23 +67925,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Case" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Case" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Case" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -61865,7 +67947,7 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "List or search virtual machines and containers on an asset", "parameters": [ { "name": "filter", @@ -61971,36 +68053,30 @@ ] } ] - }, - "post": { + } + }, + "\/Assets\/Computer\/{asset_id}\/VirtualMachine\/{id}": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -62021,7 +68097,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ { "name": "GLPI-Entity", @@ -62074,15 +68150,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - } - } - }, "security": [ { "oauth": [ @@ -62090,39 +68157,18 @@ ] } ] - } - }, - "\/Components\/Controller": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Controller" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Controller" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Controller" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -62143,53 +68189,110 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a virtual machine or container by the ID", + "parameters": [ { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -62249,36 +68352,30 @@ ] } ] - }, - "post": { + } + }, + "\/Assets\/Monitor\/{asset_id}\/VirtualMachine\/{id}": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -62299,7 +68396,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ { "name": "GLPI-Entity", @@ -62352,15 +68449,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - } - } - }, "security": [ { "oauth": [ @@ -62368,39 +68456,18 @@ ] } ] - } - }, - "\/Components\/Drive": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Drive" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Drive" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Drive" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -62421,54 +68488,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -62520,6 +68541,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -62528,38 +68558,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -62577,8 +68582,17 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -62630,15 +68644,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - } - } - }, "security": [ { "oauth": [ @@ -62648,10 +68653,10 @@ ] } }, - "\/Components\/Firmware": { + "\/Assets\/NetworkEquipment\/{asset_id}\/VirtualMachine\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -62659,26 +68664,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Firmware" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Firmware" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Firmware" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -62699,54 +68695,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -62806,35 +68756,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -62855,7 +68787,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ { "name": "GLPI-Entity", @@ -62912,7 +68844,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Firmware" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -62924,42 +68856,14 @@ ] } ] - } - }, - "\/Components\/GenericDevice": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -62977,53 +68881,16 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -63083,36 +68950,30 @@ ] } ] - }, - "post": { + } + }, + "\/Assets\/Peripheral\/{asset_id}\/VirtualMachine\/{id}": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -63133,7 +68994,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ { "name": "GLPI-Entity", @@ -63186,15 +69047,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - } - }, "security": [ { "oauth": [ @@ -63202,39 +69054,18 @@ ] } ] - } - }, - "\/Components\/GraphicCard": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCard" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -63255,54 +69086,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -63354,6 +69139,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -63362,38 +69156,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -63411,8 +69180,17 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -63464,15 +69242,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - } - }, "security": [ { "oauth": [ @@ -63482,10 +69251,10 @@ ] } }, - "\/Components\/HardDrive": { + "\/Assets\/Phone\/{asset_id}\/VirtualMachine\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -63493,26 +69262,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDrive" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDrive" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDrive" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -63533,54 +69293,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -63640,35 +69354,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -63689,7 +69385,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ { "name": "GLPI-Entity", @@ -63746,7 +69442,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/HardDrive" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -63758,42 +69454,14 @@ ] } ] - } - }, - "\/Components\/Memory": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Memory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Memory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Memory" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -63811,53 +69479,16 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -63917,36 +69548,30 @@ ] } ] - }, - "post": { + } + }, + "\/Assets\/Printer\/{asset_id}\/VirtualMachine\/{id}": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -63967,7 +69592,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ { "name": "GLPI-Entity", @@ -64020,15 +69645,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Memory" - } - } - } - }, "security": [ { "oauth": [ @@ -64036,39 +69652,18 @@ ] } ] - } - }, - "\/Components\/NetworkCard": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCard" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -64089,54 +69684,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -64188,6 +69737,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -64196,38 +69754,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -64245,8 +69778,17 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -64298,15 +69840,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - } - }, "security": [ { "oauth": [ @@ -64316,10 +69849,10 @@ ] } }, - "\/Components\/PCIDevice": { + "\/Assets\/SoftwareLicense\/{asset_id}\/VirtualMachine\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -64327,26 +69860,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDevice" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDevice" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDevice" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -64367,54 +69891,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -64474,35 +69952,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -64523,7 +69983,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ { "name": "GLPI-Entity", @@ -64580,7 +70040,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -64592,42 +70052,14 @@ ] } ] - } - }, - "\/Components\/PowerSupply": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -64645,54 +70077,121 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/VirtualMachine\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing virtual machine or container by ID", + "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -64752,35 +70251,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -64801,7 +70282,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ { "name": "GLPI-Entity", @@ -64858,7 +70339,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -64870,42 +70351,14 @@ ] } ] - } - }, - "\/Components\/Processor": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Processor" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Processor" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Processor" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -64923,53 +70376,16 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -65029,36 +70445,30 @@ ] } ] - }, - "post": { + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/VirtualMachine\/{id}": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -65079,7 +70489,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ { "name": "GLPI-Entity", @@ -65132,15 +70542,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Processor" - } - } - } - }, "security": [ { "oauth": [ @@ -65148,39 +70549,18 @@ ] } ] - } - }, - "\/Components\/Sensor": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Sensor" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -65201,54 +70581,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -65300,6 +70634,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachine" + } + } + } + }, "security": [ { "oauth": [ @@ -65308,38 +70651,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -65357,8 +70675,17 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -65410,15 +70737,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - } - }, "security": [ { "oauth": [ @@ -65428,10 +70746,10 @@ ] } }, - "\/Components\/SIMCard": { + "\/Assets\/Appliance\/{asset_id}\/VirtualMachine\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -65439,26 +70757,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCard" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCard" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCard" - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -65479,54 +70788,8 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Get an existing virtual machine or container by ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -65586,35 +70849,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated VirtualMachine", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -65635,7 +70880,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Update an existing virtual machine or container by the ID", "parameters": [ { "name": "GLPI-Entity", @@ -65692,7 +70937,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SIMCard" + "$ref": "#\/components\/schemas\/VirtualMachine" } } } @@ -65704,42 +70949,14 @@ ] } ] - } - }, - "\/Components\/SoundCard": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -65757,53 +70974,16 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "Delete a virtual machine or container by the ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -65863,10 +71043,12 @@ ] } ] - }, + } + }, + "\/Assets\/Computer\/{asset_id}\/PeripheralConnection": { "post": { "tags": [ - "Components" + "Assets" ], "responses": { "201": { @@ -65913,7 +71095,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -65970,7 +71152,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SoundCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -65982,12 +71164,10 @@ ] } ] - } - }, - "\/Components\/Systemboard": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -65997,23 +71177,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Systemboard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -66035,7 +71199,7 @@ "description": "Internal server error" } }, - "description": "List or search for the component definitions of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { "name": "filter", @@ -66141,10 +71305,12 @@ ] } ] - }, + } + }, + "\/Assets\/Monitor\/{asset_id}\/PeripheralConnection": { "post": { "tags": [ - "Components" + "Assets" ], "responses": { "201": { @@ -66191,7 +71357,7 @@ "description": "Internal server error" } }, - "description": "Create a new component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ { "name": "GLPI-Entity", @@ -66248,7 +71414,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Systemboard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -66260,12 +71426,10 @@ ] } ] - } - }, - "\/Components\/Battery\/{id}": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -66273,17 +71437,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } } } } @@ -66304,17 +71461,53 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -66374,18 +71567,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "The updated {component_type}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Battery" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -66406,18 +71619,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -66473,7 +71676,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Battery" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -66486,13 +71689,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + } }, "400": { "description": "Bad request" @@ -66510,26 +71723,53 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -66591,28 +71831,36 @@ ] } }, - "\/Components\/Camera\/{id}": { - "get": { + "\/Assets\/Peripheral\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Camera" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Camera" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -66633,18 +71881,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -66696,6 +71934,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + }, "security": [ { "oauth": [ @@ -66704,17 +71951,20 @@ } ] }, - "patch": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Camera" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } } } } @@ -66735,17 +71985,53 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -66798,15 +72084,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - } - } - }, "security": [ { "oauth": [ @@ -66814,14 +72091,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Assets\/Phone\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -66839,27 +72143,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -66911,6 +72196,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + }, "security": [ { "oauth": [ @@ -66918,12 +72212,10 @@ ] } ] - } - }, - "\/Components\/Case\/{id}": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -66931,17 +72223,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Case" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Case" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } } } } @@ -66962,17 +72247,53 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -67032,18 +72353,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/Printer\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "The updated {component_type}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Case" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -67064,18 +72405,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -67131,7 +72462,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Case" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -67144,13 +72475,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + } }, "400": { "description": "Bad request" @@ -67168,26 +72509,53 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -67249,28 +72617,36 @@ ] } }, - "\/Components\/Controller\/{id}": { - "get": { + "\/Assets\/SoftwareLicense\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Controller" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Controller" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -67291,18 +72667,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -67354,6 +72720,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + }, "security": [ { "oauth": [ @@ -67362,17 +72737,20 @@ } ] }, - "patch": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Controller" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } } } } @@ -67393,130 +72771,53 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "enum": [ - "true", - "false" - ] - } + "format": "string" + }, + "example": null }, { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64", + "default": 0 }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" + "example": null }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null }, { - "name": "force", + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -67578,28 +72879,36 @@ ] } }, - "\/Components\/Drive\/{id}": { - "get": { + "\/Assets\/Certificate\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Drive" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Drive" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -67620,18 +72929,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -67683,6 +72982,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + }, "security": [ { "oauth": [ @@ -67691,17 +72999,20 @@ } ] }, - "patch": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Drive" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } } } } @@ -67722,17 +73033,53 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -67785,15 +73132,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - } - } - }, "security": [ { "oauth": [ @@ -67801,14 +73139,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -67826,27 +73191,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -67898,6 +73244,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + }, "security": [ { "oauth": [ @@ -67905,12 +73260,10 @@ ] } ] - } - }, - "\/Components\/Firmware\/{id}": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -67918,17 +73271,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } } } } @@ -67949,17 +73295,53 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -68019,18 +73401,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/Appliance\/{asset_id}\/PeripheralConnection": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "The updated {component_type}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Firmware" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -68051,18 +73453,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Connect a peripheral to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -68118,7 +73510,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Firmware" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68131,13 +73523,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralConnection" + } + } + } + } }, "400": { "description": "Bad request" @@ -68155,26 +73557,53 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "List or search peripherals connected to an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -68236,10 +73665,10 @@ ] } }, - "\/Components\/GenericDevice\/{id}": { + "\/Assets\/Computer\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -68247,17 +73676,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68278,18 +73707,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -68351,15 +73770,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68380,18 +73799,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -68447,7 +73856,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68462,7 +73871,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -68484,18 +73893,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -68565,10 +73964,10 @@ ] } }, - "\/Components\/GraphicCard\/{id}": { + "\/Assets\/Monitor\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -68576,17 +73975,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68607,18 +74006,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -68680,15 +74069,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68709,18 +74098,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -68776,7 +74155,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68791,7 +74170,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -68813,18 +74192,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -68894,10 +74263,10 @@ ] } }, - "\/Components\/HardDrive\/{id}": { + "\/Assets\/NetworkEquipment\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -68905,17 +74274,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/HardDrive" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/HardDrive" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/HardDrive" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -68936,18 +74305,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -69009,15 +74368,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/HardDrive" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69038,18 +74397,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -69105,7 +74454,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/HardDrive" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69120,7 +74469,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -69142,18 +74491,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -69223,10 +74562,10 @@ ] } }, - "\/Components\/Memory\/{id}": { + "\/Assets\/Peripheral\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -69234,17 +74573,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Memory" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Memory" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Memory" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69265,18 +74604,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -69338,15 +74667,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Memory" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69367,18 +74696,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -69434,7 +74753,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Memory" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69449,7 +74768,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -69471,18 +74790,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -69552,10 +74861,10 @@ ] } }, - "\/Components\/NetworkCard\/{id}": { + "\/Assets\/Phone\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -69563,17 +74872,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69594,18 +74903,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -69667,15 +74966,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69696,18 +74995,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -69763,7 +75052,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69778,7 +75067,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -69800,18 +75089,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -69881,10 +75160,10 @@ ] } }, - "\/Components\/PCIDevice\/{id}": { + "\/Assets\/Printer\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -69892,17 +75171,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -69923,18 +75202,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -69996,15 +75265,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70025,18 +75294,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -70092,7 +75351,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70107,7 +75366,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -70129,18 +75388,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -70210,10 +75459,10 @@ ] } }, - "\/Components\/PowerSupply\/{id}": { + "\/Assets\/SoftwareLicense\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -70221,17 +75470,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70252,18 +75501,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -70325,15 +75564,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70354,18 +75593,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -70421,7 +75650,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70436,7 +75665,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -70458,18 +75687,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -70539,10 +75758,10 @@ ] } }, - "\/Components\/Processor\/{id}": { + "\/Assets\/Certificate\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -70550,17 +75769,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Processor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Processor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Processor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70581,18 +75800,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -70654,15 +75863,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Processor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70683,18 +75892,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -70750,7 +75949,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Processor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70765,7 +75964,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -70787,18 +75986,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -70868,10 +76057,10 @@ ] } }, - "\/Components\/Sensor\/{id}": { + "\/Assets\/Unmanaged\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -70879,17 +76068,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Sensor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Sensor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Sensor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -70910,18 +76099,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -70983,15 +76162,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Sensor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -71012,18 +76191,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -71079,7 +76248,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Sensor" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -71094,7 +76263,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -71116,18 +76285,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -71197,10 +76356,10 @@ ] } }, - "\/Components\/SIMCard\/{id}": { + "\/Assets\/Appliance\/{asset_id}\/PeripheralConnection\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -71208,17 +76367,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SIMCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/SIMCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/SIMCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -71239,18 +76398,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Get an existing peripheral connection by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -71312,15 +76461,15 @@ }, "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "The updated PeripheralConnection", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SIMCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -71341,18 +76490,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Update an existing peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -71408,7 +76547,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SIMCard" + "$ref": "#\/components\/schemas\/PeripheralConnection" } } } @@ -71423,7 +76562,7 @@ }, "delete": { "tags": [ - "Components" + "Assets" ], "responses": { "204": { @@ -71445,18 +76584,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Delete a peripheral connection by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -71526,28 +76655,36 @@ ] } }, - "\/Components\/SoundCard\/{id}": { - "get": { + "\/Assets\/Computer\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/SoundCard" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SoundCard" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -71568,18 +76705,8 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -71631,6 +76758,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -71639,17 +76775,20 @@ } ] }, - "patch": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "The updated {component_type}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SoundCard" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } } } } @@ -71670,17 +76809,53 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "List or search remote management configurations on an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -71733,15 +76908,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - } - }, "security": [ { "oauth": [ @@ -71749,14 +76915,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Assets\/Monitor\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -71774,27 +76967,8 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -71846,6 +77020,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -71853,12 +77036,10 @@ ] } ] - } - }, - "\/Components\/Systemboard\/{id}": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -71866,17 +77047,10 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } } } } @@ -71897,17 +77071,53 @@ "description": "Internal server error" } }, - "description": "Get an existing component definition of the specified type", + "description": "List or search remote management configurations on an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -71967,18 +77177,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "The updated {component_type}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Systemboard" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -71999,18 +77229,8 @@ "description": "Internal server error" } }, - "description": "Update an existing component definition of the specified type", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -72066,7 +77286,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Systemboard" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -72079,13 +77299,23 @@ } ] }, - "delete": { + "get": { "tags": [ - "Components" + "Assets" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + } }, "400": { "description": "Bad request" @@ -72103,26 +77333,53 @@ "description": "Internal server error" } }, - "description": "Delete a component definition of the specified type", + "description": "List or search remote management configurations on an asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -72184,36 +77441,35 @@ ] } }, - "\/Components\/Battery\/{id}\/Items": { - "get": { + "\/Assets\/Peripheral\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -72235,64 +77491,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -72344,6 +77544,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -72351,12 +77560,10 @@ ] } ] - } - }, - "\/Components\/Camera\/{id}\/Items": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -72366,23 +77573,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -72404,7 +77595,7 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "List or search remote management configurations on an asset", "parameters": [ { "name": "filter", @@ -72452,16 +77643,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -72522,36 +77703,35 @@ ] } }, - "\/Components\/Case\/{id}\/Items": { - "get": { + "\/Assets\/Phone\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -72573,64 +77753,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -72682,6 +77806,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -72689,12 +77822,10 @@ ] } ] - } - }, - "\/Components\/Controller\/{id}\/Items": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -72704,23 +77835,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -72742,7 +77857,7 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "List or search remote management configurations on an asset", "parameters": [ { "name": "filter", @@ -72790,16 +77905,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -72860,36 +77965,35 @@ ] } }, - "\/Components\/Drive\/{id}\/Items": { - "get": { + "\/Assets\/Printer\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -72911,64 +78015,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -73020,6 +78068,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -73027,12 +78084,10 @@ ] } ] - } - }, - "\/Components\/Firmware\/{id}\/Items": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -73042,23 +78097,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -73080,7 +78119,7 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "List or search remote management configurations on an asset", "parameters": [ { "name": "filter", @@ -73128,16 +78167,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -73198,36 +78227,35 @@ ] } }, - "\/Components\/GenericDevice\/{id}\/Items": { - "get": { + "\/Assets\/SoftwareLicense\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -73249,64 +78277,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -73358,6 +78330,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -73365,12 +78346,10 @@ ] } ] - } - }, - "\/Components\/GraphicCard\/{id}\/Items": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -73380,23 +78359,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -73418,7 +78381,7 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "List or search remote management configurations on an asset", "parameters": [ { "name": "filter", @@ -73466,16 +78429,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -73536,36 +78489,35 @@ ] } }, - "\/Components\/HardDrive\/{id}\/Items": { - "get": { + "\/Assets\/Certificate\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -73587,64 +78539,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -73696,6 +78592,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -73703,12 +78608,10 @@ ] } ] - } - }, - "\/Components\/Memory\/{id}\/Items": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -73718,23 +78621,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -73756,7 +78643,7 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "List or search remote management configurations on an asset", "parameters": [ { "name": "filter", @@ -73804,16 +78691,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -73874,36 +78751,35 @@ ] } }, - "\/Components\/NetworkCard\/{id}\/Items": { - "get": { + "\/Assets\/Unmanaged\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -73925,64 +78801,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -74034,6 +78854,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -74041,12 +78870,10 @@ ] } ] - } - }, - "\/Components\/PCIDevice\/{id}\/Items": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -74056,23 +78883,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -74094,7 +78905,7 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "List or search remote management configurations on an asset", "parameters": [ { "name": "filter", @@ -74142,16 +78953,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -74212,36 +79013,35 @@ ] } }, - "\/Components\/PowerSupply\/{id}\/Items": { - "get": { + "\/Assets\/Appliance\/{asset_id}\/RemoteManagement": { + "post": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -74263,64 +79063,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Add remote management configuration to an asset", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -74372,6 +79116,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -74379,12 +79132,10 @@ ] } ] - } - }, - "\/Components\/Processor\/{id}\/Items": { + }, "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -74394,23 +79145,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -74432,7 +79167,7 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "List or search remote management configurations on an asset", "parameters": [ { "name": "filter", @@ -74480,16 +79215,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -74550,10 +79275,10 @@ ] } }, - "\/Components\/Sensor\/{id}\/Items": { + "\/Assets\/Computer\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -74561,26 +79286,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -74601,64 +79317,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -74717,39 +79377,18 @@ ] } ] - } - }, - "\/Components\/SIMCard\/{id}\/Items": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated RemoteManagement", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -74770,64 +79409,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Update an existing remote management configuration by the ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -74879,6 +79462,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -74886,42 +79478,14 @@ ] } ] - } - }, - "\/Components\/SoundCard\/{id}\/Items": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -74939,62 +79503,15 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Delete a remote management configuration by the ID", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "boolean" } }, { @@ -75057,10 +79574,10 @@ ] } }, - "\/Components\/Systemboard\/{id}\/Items": { + "\/Assets\/Monitor\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -75068,26 +79585,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -75108,64 +79616,8 @@ "description": "Internal server error" } }, - "description": "List or search for the components of a specific component definition", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -75224,30 +79676,18 @@ ] } ] - } - }, - "\/Components\/Battery\/Items\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated RemoteManagement", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -75268,18 +79708,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Update an existing remote management configuration by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -75331,6 +79761,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -75338,33 +79777,14 @@ ] } ] - } - }, - "\/Components\/Camera\/Items\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CameraItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -75382,16 +79802,15 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Delete a remote management configuration by the ID", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "boolean" } }, { @@ -75454,10 +79873,10 @@ ] } }, - "\/Components\/Case\/Items\/{id}": { + "\/Assets\/NetworkEquipment\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -75465,17 +79884,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -75496,18 +79915,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -75566,30 +79975,18 @@ ] } ] - } - }, - "\/Components\/Controller\/Items\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated RemoteManagement", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -75610,18 +80007,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Update an existing remote management configuration by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -75673,6 +80060,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -75680,33 +80076,14 @@ ] } ] - } - }, - "\/Components\/Drive\/Items\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DriveItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DriveItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -75724,16 +80101,15 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Delete a remote management configuration by the ID", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "boolean" } }, { @@ -75796,10 +80172,10 @@ ] } }, - "\/Components\/Firmware\/Items\/{id}": { + "\/Assets\/Peripheral\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -75807,17 +80183,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -75838,18 +80214,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -75908,30 +80274,18 @@ ] } ] - } - }, - "\/Components\/GenericDevice\/Items\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated RemoteManagement", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -75952,18 +80306,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Update an existing remote management configuration by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -76015,6 +80359,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -76022,33 +80375,14 @@ ] } ] - } - }, - "\/Components\/GraphicCard\/Items\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -76066,16 +80400,15 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Delete a remote management configuration by the ID", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "boolean" } }, { @@ -76138,10 +80471,10 @@ ] } }, - "\/Components\/HardDrive\/Items\/{id}": { + "\/Assets\/Phone\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -76149,17 +80482,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/HardDriveItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/HardDriveItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/HardDriveItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -76180,18 +80513,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -76250,30 +80573,18 @@ ] } ] - } - }, - "\/Components\/Memory\/Items\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated RemoteManagement", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/MemoryItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -76294,18 +80605,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Update an existing remote management configuration by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -76357,6 +80658,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -76364,33 +80674,14 @@ ] } ] - } - }, - "\/Components\/NetworkCard\/Items\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -76408,16 +80699,15 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Delete a remote management configuration by the ID", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "boolean" } }, { @@ -76480,10 +80770,10 @@ ] } }, - "\/Components\/PCIDevice\/Items\/{id}": { + "\/Assets\/Printer\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -76491,17 +80781,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -76522,18 +80812,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -76592,30 +80872,18 @@ ] } ] - } - }, - "\/Components\/PowerSupply\/Items\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated RemoteManagement", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -76636,18 +80904,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Update an existing remote management configuration by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -76699,6 +80957,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -76706,33 +80973,14 @@ ] } ] - } - }, - "\/Components\/Processor\/Items\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -76750,16 +80998,15 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Delete a remote management configuration by the ID", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "boolean" } }, { @@ -76822,10 +81069,10 @@ ] } }, - "\/Components\/Sensor\/Items\/{id}": { + "\/Assets\/SoftwareLicense\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -76833,17 +81080,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SensorItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/SensorItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/SensorItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -76864,18 +81111,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -76934,30 +81171,18 @@ ] } ] - } - }, - "\/Components\/SIMCard\/Items\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { - "description": "", + "description": "The updated RemoteManagement", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCardItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -76978,18 +81203,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Update an existing remote management configuration by the ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -77041,6 +81256,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, "security": [ { "oauth": [ @@ -77048,33 +81272,14 @@ ] } ] - } - }, - "\/Components\/SoundCard\/Items\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Components" + "Assets" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -77092,16 +81297,15 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Delete a remote management configuration by the ID", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "boolean" } }, { @@ -77164,10 +81368,10 @@ ] } }, - "\/Components\/Systemboard\/Items\/{id}": { + "\/Assets\/Certificate\/{asset_id}\/RemoteManagement\/{id}": { "get": { "tags": [ - "Components" + "Assets" ], "responses": { "200": { @@ -77175,17 +81379,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SystemboardItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/SystemboardItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/SystemboardItem" + "$ref": "#\/components\/schemas\/RemoteManagement" } } } @@ -77206,18 +81410,8 @@ "description": "Internal server error" } }, - "description": "Get a specific component", + "description": "Get an existing remote management configuration by ID", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -77276,13 +81470,160973 @@ ] } ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated RemoteManagement", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing remote management configuration by the ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a remote management configuration by the ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/RemoteManagement\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing remote management configuration by ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated RemoteManagement", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing remote management configuration by the ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a remote management configuration by the ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/RemoteManagement\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing remote management configuration by ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated RemoteManagement", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing remote management configuration by the ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RemoteManagement" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a remote management configuration by the ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Appliance": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link an appliance to an asset", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Appliance\/{id}": { + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink an appliance from an asset by the link ID", + "parameters": [ + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Appliance_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing appliance link by the link ID", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/Domain": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Certificate": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Certificate": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Certificate": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Certificate": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Certificate": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Certificate": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Certificate": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Project": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a project to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Project\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific project link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Line": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a line to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search line links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Line": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a line to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search line links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Line": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a line to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search line links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Line": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a line to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search line links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Line": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a line to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search line links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Line\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Line", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Line\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Line", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Line\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Line", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Line\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Line", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Line\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Item_Line", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific line link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/KBArticle": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/DCRoom\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Rack\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Enclosure\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/PDU\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Contract": { + "post": { + "tags": [ + "Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Software\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/DCRoom\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Rack\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Enclosure\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/PDU\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all available custom asset types", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/servers": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom assets of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/storagearrays": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom assets of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/enclosures": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom assets of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/PDUs": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom assets of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/servers\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_servers" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/storagearrays\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/enclosures\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosures" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/PDUs\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUs" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/serversModel": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset model of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/storagearraysModel": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset model of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/enclosuresModel": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset model of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/PDUsModel": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset model of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/serversModel\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Model", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/storagearraysModel\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Model", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/enclosuresModel\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Model", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/PDUsModel\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Model", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset model of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/serversType": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset type of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/storagearraysType": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset type of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/enclosuresType": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset type of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/PDUsType": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search custom asset models of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Custom Assets" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new custom asset type of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/serversType\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Type", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_serversType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/storagearraysType\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Type", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/enclosuresType\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Type", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Custom\/PDUsType\/{id}": { + "get": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Custom Assets" + ], + "responses": { + "200": { + "description": "The updated CustomAsset_{itemtype}Type", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Custom Assets" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a custom asset type of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all available component types", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Battery": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Battery" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Battery" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Battery" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Battery" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Camera": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Camera" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Camera" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Camera" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Camera" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Case": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Case" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Case" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Case" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Case" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Controller": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Controller" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Controller" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Controller" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Controller" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Drive": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Drive" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Drive" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Drive" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Drive" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Firmware": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Firmware" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Firmware" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Firmware" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Firmware" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GenericDevice": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GraphicCard": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/HardDrive": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDrive" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDrive" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDrive" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/HardDrive" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Memory": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Memory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Memory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Memory" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Memory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/NetworkCard": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PCIDevice": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PowerSupply": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Processor": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Processor" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Processor" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Processor" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Processor" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Sensor": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Sensor" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Sensor" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Sensor" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Sensor" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SIMCard": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCard" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCard" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCard" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SoundCard": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCard" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCard" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCard" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Systemboard": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Systemboard" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Systemboard" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Systemboard" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the component definitions of the specified type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new component definition of the specified type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Systemboard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Battery\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Battery" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Battery" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Battery" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Battery" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Battery" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Camera\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Camera" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Camera" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Camera" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Camera" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Camera" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Case\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Case" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Case" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Case" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Case" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Case" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Controller\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Controller" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Controller" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Controller" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Controller" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Controller" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Drive\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Drive" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Drive" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Drive" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Drive" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Drive" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Firmware\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Firmware" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Firmware" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Firmware" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Firmware" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Firmware" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GenericDevice\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDevice" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GraphicCard\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/HardDrive\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/HardDrive" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/HardDrive" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/HardDrive" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/HardDrive" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/HardDrive" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Memory\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Memory" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Memory" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Memory" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Memory" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Memory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/NetworkCard\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PCIDevice\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDevice" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PowerSupply\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupply" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Processor\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Processor" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Processor" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Processor" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Processor" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Processor" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Sensor\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Sensor" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Sensor" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Sensor" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Sensor" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Sensor" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SIMCard\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCard" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCard" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SoundCard\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCard" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCard" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Systemboard\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Systemboard" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Systemboard" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Systemboard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "The updated {component_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Systemboard" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Systemboard" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a component definition of the specified type", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Battery\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Camera\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Case\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Controller\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Drive\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Firmware\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GenericDevice\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GraphicCard\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/HardDrive\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Memory\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/NetworkCard\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PCIDevice\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PowerSupply\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Processor\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Sensor\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SIMCard\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SoundCard\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Systemboard\/{id}\/Items": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for the components of a specific component definition", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Battery\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Camera\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CameraItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CameraItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Case\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CaseItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CaseItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Controller\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Drive\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DriveItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/DriveItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Firmware\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GenericDevice\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/GraphicCard\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/HardDrive\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Memory\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/NetworkCard\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PCIDevice\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/PowerSupply\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Processor\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Sensor\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SensorItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/SensorItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SIMCard\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/SoundCard\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Components\/Systemboard\/Items\/{id}": { + "get": { + "tags": [ + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific component", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Battery": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BatteryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Camera": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CameraItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Case": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CaseItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Controller": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ControllerItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Drive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Firmware": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FirmwareItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/GenericDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GenericDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/GraphicCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/GraphicCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/HardDrive": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/HardDriveItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Memory": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MemoryItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/NetworkCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/PCIDevice": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIDeviceItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/PowerSupply": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PowerSupplyItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Processor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProcessorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Sensor": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SensorItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/SIMCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SIMCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/SoundCard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SoundCardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{id}\/Component\/Systemboard": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SystemboardItem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all components for an asset", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Volume": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search all volumes for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Computer\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Monitor\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/NetworkEquipment\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Peripheral\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Phone\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Printer\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/SoftwareLicense\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Certificate\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Unmanaged\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assets\/Appliance\/{asset_id}\/Volume\/{id}": { + "get": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "200": { + "description": "The updated Volume", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Volume" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assets", + "Components" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a volume for an asset", + "parameters": [ + { + "name": "asset_id", + "description": "The ID of the Asset", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Ticket" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Ticket" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Ticket" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search Tickets, Changes or Problems", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new new Ticket, Change or Problem", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Ticket" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Change" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Change" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Change" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search Tickets, Changes or Problems", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new new Ticket, Change or Problem", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Change" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Problem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Problem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Problem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search Tickets, Changes or Problems", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new new Ticket, Change or Problem", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Problem" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Ticket" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Ticket" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Ticket" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Ticket" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Ticket" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Change" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Change" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Change" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Change" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Change" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Problem" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Problem" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Problem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Problem" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Problem" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Followup": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Followup": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Followup": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Document": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Document": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Document": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Solution": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Solution": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Solution": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new timeline item for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Task": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketTask" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketTask" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketTask" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all tasks for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Task": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all tasks for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Task": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all tasks for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Validation": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all validations for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Validation": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all validations for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Followup\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Followup\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Followup\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Followup" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Document\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Document\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Document\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Solution\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Solution\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Solution\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {subitem_type}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Solution" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Task\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketTask" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/TicketTask" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/TicketTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Task", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Task\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Task", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Timeline\/Task\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Task", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a task for a Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Timeline\/Validation\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Validation", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketValidation" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Timeline\/Validation\/{subitem_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Validation", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeValidation" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a validation for a Ticket or Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "subitem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/TeamMember": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the team members for a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Add a team member to a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "format": "string", + "enum": [ + "User", + "Group", + "Supplier" + ] + }, + "id": { + "type": "integer", + "format": "int32", + "readOnly": true + }, + "role": { + "type": "string", + "format": "string", + "enum": [ + "requester", + "assigned", + "observer" + ] + } + } + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Remove a team member from a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/TeamMember": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the team members for a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Add a team member to a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "format": "string", + "enum": [ + "User", + "Group", + "Supplier" + ] + }, + "id": { + "type": "integer", + "format": "int32", + "readOnly": true + }, + "role": { + "type": "string", + "format": "string", + "enum": [ + "requester", + "assigned", + "observer" + ] + } + } + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Remove a team member from a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/TeamMember": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the team members for a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Add a team member to a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "format": "string", + "enum": [ + "User", + "Group", + "Supplier" + ] + }, + "id": { + "type": "integer", + "format": "int32", + "readOnly": true + }, + "role": { + "type": "string", + "format": "string", + "enum": [ + "requester", + "assigned", + "observer" + ] + } + } + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Remove a team member from a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/TeamMember\/{role}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the team members by role for specific Ticket, Change, Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "role", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "\\w+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "role": { + "type": "string", + "format": "string", + "enum": [ + "requester", + "assigned", + "observer" + ] + } + } + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/TeamMember\/{role}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the team members by role for specific Ticket, Change, Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "role", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "\\w+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "role": { + "type": "string", + "format": "string", + "enum": [ + "requester", + "assigned", + "observer" + ] + } + } + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/TeamMember\/{role}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the team members by role for specific Ticket, Change, Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "role", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "\\w+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "role": { + "type": "string", + "format": "string", + "enum": [ + "requester", + "assigned", + "observer" + ] + } + } + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/RecurringTicket": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for RecurringTickets", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new RecurringTicket", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/RecurringTicket\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing RecurringTicket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated RecurringTicket", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing RecurringTicket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringTicket" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a RecurringTicket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/RecurringChange": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for RecurringChanges", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new RecurringChange", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/RecurringChange\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing RecurringChange", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated RecurringChange", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing RecurringChange", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RecurringChange" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a RecurringChange", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/ExternalEvent": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for ExternalEvents", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new ExternalEvent", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/ExternalEvent\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing ExternalEvent", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated ExternalEvent", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing ExternalEvent", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ExternalEvent" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a ExternalEvent", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Cost": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketCost" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketCost" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TicketCost" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the costs for a specific Ticket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new cost for a specific Ticket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Cost": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the costs for a specific Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new cost for a specific Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Cost": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the costs for a specific Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new cost for a specific Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/Cost\/{cost_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketCost" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/TicketCost" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/TicketCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific cost by ID for a specific Ticket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Cost", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific cost by ID for a specific Ticket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TicketCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific cost by ID for a specific Ticket", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/Cost\/{cost_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific cost by ID for a specific Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Cost", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific cost by ID for a specific Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ChangeCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific cost by ID for a specific Change", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/Cost\/{cost_id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific cost by ID for a specific Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated {itemtype}Cost", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific cost by ID for a specific Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProblemCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific cost by ID for a specific Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{assistance_id}\/KBArticle": { + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{assistance_id}\/KBArticle": { + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{assistance_id}\/KBArticle": { + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{assistance_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{assistance_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{assistance_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "assistance_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/PlanningReminder": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PlanningReminder" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PlanningReminder" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PlanningReminder" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for PlanningReminders", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/PlanningReminder\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PlanningReminder" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PlanningReminder" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PlanningReminder" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing PlanningReminder", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/PendingReason": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PendingReason" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PendingReason" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PendingReason" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for PendingReasons", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Assistance" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new PendingReason", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/PendingReason\/{id}": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing PendingReason", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "The updated PendingReason", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing PendingReason", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Assistance" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a PendingReason", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Ticket\/{id}\/PendingReason": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the pending reason for a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Change\/{id}\/PendingReason": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the pending reason for a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Problem\/{id}\/PendingReason": { + "get": { + "tags": [ + "Assistance" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/PendingReason_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the pending reason for a specific Ticket, Change or Problem", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/User" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/User" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/User" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for Users", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new User", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Group": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Group" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Group" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Group" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for Groups", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new Group", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Group" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Entity": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Entity" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Entity" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Entity" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for Entities", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new Entity", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Entity" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Profile": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Profile" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Profile" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Profile" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for Profiles", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new Profile", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Profile" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/Me": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the current user", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "user" + ] + } + ] + } + }, + "\/Administration\/User\/Me\/Email": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the current user's email addresses", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "user" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new email address for the current user", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "string" + }, + "is_default": { + "type": "boolean", + "format": "boolean", + "default": false + } + } + } + } + } + }, + "security": [ + { + "oauth": [ + "user" + ] + } + ] + } + }, + "\/Administration\/User\/Me\/Email\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific email address for the current user", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "user" + ] + } + ] + } + }, + "\/Administration\/User\/Me\/Emails\/Default": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/EmailAddress" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the default email address for the current user", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "user", + "email" + ] + } + ] + } + }, + "\/Administration\/User\/Me\/Picture": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the picture for the current user", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "user" + ] + } + ] + } + }, + "\/Administration\/User\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing User", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing User", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a User", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/username\/{username}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing User", + "parameters": [ + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing User", + "parameters": [ + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/User" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a User", + "parameters": [ + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/{id}\/Picture": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the picture for the current user", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/username\/{username}\/Picture": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the picture for the current user", + "parameters": [ + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/Me\/UsedItem": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the used items for the current user", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "user" + ] + } + ] + } + }, + "\/Administration\/User\/{id}\/UsedItem": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the used items for a user", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/username\/{username}\/UsedItem": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the used items for a user by username", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/Me\/ManagedItem": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the managed items for the current user", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "user" + ] + } + ] + } + }, + "\/Administration\/User\/{id}\/ManagedItem": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the managed items for a user", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/username\/{username}\/ManagedItem": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the managed items for a user by username", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Group\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Group" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Group" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Group" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Group", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated Group", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Group" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing Group", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Group" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Group", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Entity\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Entity" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Entity" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Entity" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Entity", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated Entity", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Entity" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing Entity", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Entity" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Entity", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Profile\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Profile" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Profile" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Profile" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Profile", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated Profile", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Profile" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing Profile", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Profile" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Profile", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/{id}\/Preference": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing UserPreferences", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated UserPreferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing UserPreferences", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/Me\/Preference": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing UserPreferences", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated UserPreferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing UserPreferences", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/{username}\/Preference": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing UserPreferences", + "parameters": [ + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated UserPreferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing UserPreferences", + "parameters": [ + { + "name": "username", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "[a-zA-Z0-9_]+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserPreferences" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/EventLog": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EventLog" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EventLog" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EventLog" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for EventLogs", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/EventLog\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EventLog" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/EventLog" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/EventLog" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing EventLog", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/UserCategory": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/UserCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/UserCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/UserCategory" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for UserCategorys", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new UserCategory", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/UserTitle": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/UserTitle" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/UserTitle" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/UserTitle" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for UserTitles", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new UserTitle", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserTitle" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/ApprovalSubstitute": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ApprovalSubstitute" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ApprovalSubstitute" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ApprovalSubstitute" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for ApprovalSubstitutes", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new ApprovalSubstitute", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ApprovalSubstitute" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/UserCategory\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserCategory" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/UserCategory" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/UserCategory" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing UserCategory", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserCategory" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing UserCategory", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a UserCategory", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/UserTitle\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserTitle" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/UserTitle" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/UserTitle" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing UserTitle", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserTitle" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing UserTitle", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/UserTitle" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a UserTitle", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/ApprovalSubstitute\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ApprovalSubstitute" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ApprovalSubstitute" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ApprovalSubstitute" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing ApprovalSubstitute", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a ApprovalSubstitute", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/{users_id}\/Certificate": { + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "users_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "users_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/User\/{users_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "users_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "users_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "users_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Entity\/{items_id}\/KBArticle": { + "post": { + "tags": [ + "Administration" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Administration\/Entity\/{items_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Administration" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Administration" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all available management types", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Document\/{id}\/Download": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/octet-stream": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Download a document", + "parameters": [ + { + "name": "HTTP_IF_NONE_MATCH", + "description": "", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "HTTP_IF_MODIFIED_SINCE", + "description": "", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Budget": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Budget" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Budget" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Budget" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Budget" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Cluster": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Cluster" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Cluster" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Cluster" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Cluster" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Contact": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contact" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contact" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contact" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contact" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Contract": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Database": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Database" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Database" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Database" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Database" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DataCenter": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DataCenter" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DataCenter" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DataCenter" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DataCenter" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Document": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Domain": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/License": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/License" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/License" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/License" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/License" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Line": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Line" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Line" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Line" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Supplier": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Supplier" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Supplier" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Supplier" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Supplier" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DomainRecord": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search management items", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new management item", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Budget\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Budget" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Budget" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Budget" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Budget" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Budget" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Cluster\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Cluster" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Cluster" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Cluster" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Cluster" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Cluster" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Contact\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contact" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contact" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contact" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contact" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contact" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Contract\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Database\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Database" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Database" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Database" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Database" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Database" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DataCenter\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DataCenter" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/DataCenter" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/DataCenter" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DataCenter" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DataCenter" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Document\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Document" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Domain\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/License\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/License" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/License" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/License" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/License" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/License" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Line\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Line" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Line" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Line" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Line" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Supplier\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Supplier" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Supplier" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Supplier" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Supplier" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Supplier" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstance" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DomainRecord\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecord" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a management item", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Contract\/{id}\/Cost": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ContractCost" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ContractCost" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ContractCost" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the costs for a specific Contract", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new cost for a specific Contract", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ContractCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Contract\/{id}\/Cost\/{cost_id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ContractCost" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ContractCost" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ContractCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific cost by ID for a specific Contract", + "parameters": [ + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated ContractCost", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ContractCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific cost by ID for a specific Contract", + "parameters": [ + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ContractCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific cost by ID for a specific Contract", + "parameters": [ + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance\/{items_id}\/Domain": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Database\/{items_id}\/Domain": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a domain to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search domain links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance\/{items_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Database\/{items_id}\/Domain\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific domain link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Domain_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific domain link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Domain_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific domain link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Domain\/{items_id}\/Certificate": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance\/{items_id}\/Certificate": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a certificate to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search certificate links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Domain\/{items_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance\/{items_id}\/Certificate\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific certificate link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Certificate_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific certificate link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Certificate_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific certificate link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Budget\/{items_id}\/KBArticle": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Budget\/{items_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Line\/{items_id}\/Contract": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Cluster\/{items_id}\/Contract": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Domain\/{items_id}\/Contract": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance\/{items_id}\/Contract": { + "post": { + "tags": [ + "Management" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Line\/{items_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Cluster\/{items_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/Domain\/{items_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Management\/DatabaseInstance\/{items_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Management" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Management" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for Projects", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new Project", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{id}": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Project" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Project" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Project", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "The updated Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Project" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing Project", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Project", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Task": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project tasks", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new project task", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Task\/{id}": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a project task by ID", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "The updated ProjectTask", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing project task", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a project task", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/Task": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search project tasks", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new project task", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTask" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Project\/{id}\/Cost": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get the costs for a specific Project", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new cost for a specific Project", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Project\/{id}\/Cost\/{cost_id}": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific cost by ID for a specific Project", + "parameters": [ + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "The updated ProjectCost", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific cost by ID for a specific Project", + "parameters": [ + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectCost" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific cost by ID for a specific Project", + "parameters": [ + { + "name": "cost_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Project\/{items_id}\/KBArticle": { + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a KB article to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search KB article links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Project\/{items_id}\/KBArticle\/{id}": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific KB article link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "The updated KBArticle_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific KB article link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific KB article link", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Project\/{items_id}\/Contract": { + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Assign a contract to an item", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search contract links", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Project\/{items_id}\/Contract\/{id}": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "The updated Contract_Item", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Contract_Item" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a specific contract link", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/Ticket": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search tickets linked to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link a ticket to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/Ticket\/{ticket_id}": { + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink a ticket from the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "ticket_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/Change": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search changes linked to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link a change to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/Change\/{change_id}": { + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink a change from the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "change_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/Problem": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search problems linked to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Link a problem to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ITIL_Project" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/Problem\/{problem_id}": { + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Unlink a problem from the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "problem_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/TeamMember": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search team members linked to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Add a team member to the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTeamMember" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/{project_id}\/TeamMember\/{teammember_id}": { + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Remove a team member from the project", + "parameters": [ + { + "name": "project_id", + "description": "Project ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "string", + "pattern": "\\d+" + } + }, + { + "name": "teammember_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Task\/{task_id}\/TeamMember": { + "get": { + "tags": [ + "Project" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search team members linked to a task", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Project" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Add a team member to a task", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Project\/Task\/{task_id}\/TeamMember\/{teammember_id}": { + "delete": { + "tags": [ + "Project" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Remove a team member from a task", + "parameters": [ + { + "name": "task_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "teammember_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get all available dropdown types", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/Location": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Location" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Location" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Location" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Location" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/State": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/State" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/State" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/State" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/State" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/Manufacturer": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Manufacturer" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Manufacturer" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Manufacturer" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Manufacturer" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/Calendar": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Calendar" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Calendar" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Calendar" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Calendar" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/WifiNetwork": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/WifiNetwork" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/WifiNetwork" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/WifiNetwork" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/WifiNetwork" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/NetworkPortFiberchannelType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/DatabaseInstanceCategory": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/DatabaseInstanceType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstanceType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstanceType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DatabaseInstanceType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstanceType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/ITILCategory": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITILCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITILCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ITILCategory" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ITILCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/TaskCategory": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TaskCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TaskCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TaskCategory" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TaskCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/RequestType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RequestType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RequestType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RequestType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RequestType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/EventCategory": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EventCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EventCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EventCategory" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EventCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/USBVendor": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/USBVendor" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/USBVendor" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/USBVendor" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/USBVendor" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/PCIVendor": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIVendor" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIVendor" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PCIVendor" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PCIVendor" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/DenyList": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DenyList" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DenyList" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DenyList" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DenyList" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/DeniedMailContent": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DeniedMailContent" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DeniedMailContent" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DeniedMailContent" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DeniedMailContent" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/CloseTime": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CloseTime" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CloseTime" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CloseTime" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CloseTime" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/BusinessCriticity": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BusinessCriticity" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BusinessCriticity" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/BusinessCriticity" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/BusinessCriticity" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/DocumentCategory": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DocumentCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DocumentCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DocumentCategory" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DocumentCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/DocumentType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DocumentType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DocumentType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/DocumentType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DocumentType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/VirtualMachineType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachineType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/VirtualMachineModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachineModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/VirtualMachineState": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineState" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineState" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/VirtualMachineState" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachineState" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/CableType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CableType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CableType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CableType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CableType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/CableStrand": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CableStrand" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CableStrand" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/CableStrand" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CableStrand" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/AutoUpdateSystem": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AutoUpdateSystem" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AutoUpdateSystem" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AutoUpdateSystem" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/AutoUpdateSystem" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/FollowupTemplate": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FollowupTemplate" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FollowupTemplate" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FollowupTemplate" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/FollowupTemplate" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/TaskTemplate": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TaskTemplate" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TaskTemplate" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/TaskTemplate" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TaskTemplate" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/SolutionTemplate": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SolutionTemplate" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SolutionTemplate" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SolutionTemplate" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SolutionTemplate" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/ValidationTemplate": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ValidationTemplate" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ValidationTemplate" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ValidationTemplate" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ValidationTemplate" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/SolutionType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SolutionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SolutionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SolutionType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SolutionType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/ApprovalStep": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ApprovalStep" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ApprovalStep" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ApprovalStep" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ApprovalStep" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/ComputerModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ComputerModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ComputerModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ComputerModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ComputerModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/ComputerType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ComputerType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ComputerType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ComputerType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ComputerType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/MonitorModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MonitorModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MonitorModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MonitorModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/MonitorModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/MonitorType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MonitorType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MonitorType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/MonitorType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/MonitorType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/NetworkEquipmentModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/NetworkEquipmentType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkEquipmentType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkEquipmentType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NetworkEquipmentType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkEquipmentType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/PeripheralModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/PeripheralType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PeripheralType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/PhoneModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PhoneModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PhoneModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PhoneModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PhoneModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] } }, - "\/Assets\/Computer\/{id}\/Component\/Battery": { + "\/Dropdowns\/PhoneType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -77292,7 +242446,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/PhoneType" } } }, @@ -77300,7 +242454,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/PhoneType" } } }, @@ -77308,7 +242462,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/PhoneType" } } } @@ -77330,7 +242484,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -77379,15 +242533,839 @@ "example": null }, { - "name": "id", + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PhoneType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/PrinterModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { "description": "", - "in": "path", - "required": true, + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PrinterModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PrinterModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PrinterModel" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PrinterModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/PrinterType": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PrinterType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PrinterType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/PrinterType" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PrinterType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Dropdowns\/EnclosureModel": { + "get": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EnclosureModel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EnclosureModel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EnclosureModel" + } + } + } } }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search dropdowns of a specific type", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -77446,39 +243424,35 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Battery": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -77500,64 +243474,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -77609,6 +243527,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EnclosureModel" + } + } + } + }, "security": [ { "oauth": [ @@ -77618,11 +243545,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Battery": { + "\/Dropdowns\/ApplianceType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -77632,7 +243558,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/ApplianceType" } } }, @@ -77640,7 +243566,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/ApplianceType" } } }, @@ -77648,7 +243574,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/ApplianceType" } } } @@ -77670,7 +243596,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -77718,16 +243644,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -77786,39 +243702,35 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Battery": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -77840,64 +243752,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -77949,6 +243805,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ApplianceType" + } + } + } + }, "security": [ { "oauth": [ @@ -77958,11 +243823,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/Battery": { + "\/Dropdowns\/BudgetType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -77972,7 +243836,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/BudgetType" } } }, @@ -77980,7 +243844,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/BudgetType" } } }, @@ -77988,7 +243852,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/BudgetType" } } } @@ -78010,7 +243874,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -78058,16 +243922,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -78126,39 +243980,35 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Battery": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -78180,64 +244030,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -78289,6 +244083,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/BudgetType" + } + } + } + }, "security": [ { "oauth": [ @@ -78298,11 +244101,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Battery": { + "\/Dropdowns\/CartridgeItemType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -78312,7 +244114,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } } }, @@ -78320,7 +244122,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } } }, @@ -78328,7 +244130,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } } } @@ -78350,7 +244152,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -78398,16 +244200,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -78466,39 +244258,35 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Battery": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -78520,64 +244308,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -78629,6 +244361,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CartridgeItemType" + } + } + } + }, "security": [ { "oauth": [ @@ -78638,11 +244379,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/Battery": { + "\/Dropdowns\/CertificateType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -78652,7 +244392,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/CertificateType" } } }, @@ -78660,7 +244400,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/CertificateType" } } }, @@ -78668,7 +244408,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "$ref": "#\/components\/schemas\/CertificateType" } } } @@ -78690,7 +244430,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -78738,16 +244478,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -78806,39 +244536,35 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Battery": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -78860,64 +244586,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -78969,6 +244639,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CertificateType" + } + } + } + }, "security": [ { "oauth": [ @@ -78978,11 +244657,10 @@ ] } }, - "\/Assets\/Computer\/{id}\/Component\/Camera": { + "\/Dropdowns\/ClusterType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -78992,7 +244670,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ClusterType" } } }, @@ -79000,7 +244678,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ClusterType" } } }, @@ -79008,7 +244686,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ClusterType" } } } @@ -79030,7 +244708,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -79078,16 +244756,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -79146,39 +244814,35 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Camera": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -79200,64 +244864,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -79309,6 +244917,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ClusterType" + } + } + } + }, "security": [ { "oauth": [ @@ -79318,11 +244935,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Camera": { + "\/Dropdowns\/ContactType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -79332,7 +244948,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ContactType" } } }, @@ -79340,7 +244956,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ContactType" } } }, @@ -79348,7 +244964,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ContactType" } } } @@ -79370,7 +244986,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -79418,16 +245034,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -79486,39 +245092,35 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Camera": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -79540,64 +245142,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -79649,6 +245195,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ContactType" + } + } + } + }, "security": [ { "oauth": [ @@ -79658,11 +245213,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/Camera": { + "\/Dropdowns\/ContractType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -79672,7 +245226,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ContractType" } } }, @@ -79680,7 +245234,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ContractType" } } }, @@ -79688,7 +245242,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ContractType" } } } @@ -79710,7 +245264,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -79758,16 +245312,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -79826,39 +245370,35 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Camera": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -79880,64 +245420,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -79989,6 +245473,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ContractType" + } + } + } + }, "security": [ { "oauth": [ @@ -79998,11 +245491,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Camera": { + "\/Dropdowns\/ConsumableItemType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -80012,7 +245504,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ConsumableItemType" } } }, @@ -80020,7 +245512,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ConsumableItemType" } } }, @@ -80028,7 +245520,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/ConsumableItemType" } } } @@ -80050,7 +245542,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -80098,16 +245590,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -80166,39 +245648,35 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Camera": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -80220,64 +245698,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -80329,6 +245751,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ConsumableItemType" + } + } + } + }, "security": [ { "oauth": [ @@ -80338,11 +245769,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/Camera": { + "\/Dropdowns\/DomainRecordType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -80352,7 +245782,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/DomainRecordType" } } }, @@ -80360,7 +245790,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/DomainRecordType" } } }, @@ -80368,7 +245798,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "$ref": "#\/components\/schemas\/DomainRecordType" } } } @@ -80390,7 +245820,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -80438,16 +245868,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -80506,39 +245926,35 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Camera": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -80560,64 +245976,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -80669,6 +246029,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecordType" + } + } + } + }, "security": [ { "oauth": [ @@ -80678,11 +246047,10 @@ ] } }, - "\/Assets\/Computer\/{id}\/Component\/Case": { + "\/Dropdowns\/DomainType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -80692,7 +246060,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/DomainType" } } }, @@ -80700,7 +246068,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/DomainType" } } }, @@ -80708,7 +246076,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/DomainType" } } } @@ -80730,7 +246098,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -80778,16 +246146,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -80846,39 +246204,35 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Case": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -80900,64 +246254,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -81009,6 +246307,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainType" + } + } + } + }, "security": [ { "oauth": [ @@ -81018,11 +246325,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Case": { + "\/Dropdowns\/LineType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -81032,7 +246338,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/LineType" } } }, @@ -81040,7 +246346,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/LineType" } } }, @@ -81048,7 +246354,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/LineType" } } } @@ -81070,7 +246376,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -81118,16 +246424,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -81186,39 +246482,35 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Case": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -81240,64 +246532,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -81349,6 +246585,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/LineType" + } + } + } + }, "security": [ { "oauth": [ @@ -81358,11 +246603,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/Case": { + "\/Dropdowns\/NetworkPortType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -81372,7 +246616,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/NetworkPortType" } } }, @@ -81380,7 +246624,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/NetworkPortType" } } }, @@ -81388,7 +246632,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/NetworkPortType" } } } @@ -81410,7 +246654,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -81458,16 +246702,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -81526,39 +246760,35 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Case": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -81580,64 +246810,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -81689,6 +246863,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkPortType" + } + } + } + }, "security": [ { "oauth": [ @@ -81698,11 +246881,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Case": { + "\/Dropdowns\/ProjectTaskType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -81712,7 +246894,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/ProjectTaskType" } } }, @@ -81720,7 +246902,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/ProjectTaskType" } } }, @@ -81728,7 +246910,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/ProjectTaskType" } } } @@ -81750,7 +246932,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -81798,16 +246980,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -81866,39 +247038,35 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Case": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -81920,64 +247088,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -82029,6 +247141,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectTaskType" + } + } + } + }, "security": [ { "oauth": [ @@ -82038,11 +247159,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/Case": { + "\/Dropdowns\/ProjectType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -82052,7 +247172,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/ProjectType" } } }, @@ -82060,7 +247180,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/ProjectType" } } }, @@ -82068,7 +247188,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "$ref": "#\/components\/schemas\/ProjectType" } } } @@ -82090,7 +247210,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -82138,16 +247258,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -82206,39 +247316,35 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Case": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -82260,64 +247366,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -82369,6 +247419,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectType" + } + } + } + }, "security": [ { "oauth": [ @@ -82378,11 +247437,10 @@ ] } }, - "\/Assets\/Computer\/{id}\/Component\/Controller": { + "\/Dropdowns\/LicenseType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -82392,7 +247450,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/LicenseType" } } }, @@ -82400,7 +247458,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/LicenseType" } } }, @@ -82408,7 +247466,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/LicenseType" } } } @@ -82430,7 +247488,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -82478,16 +247536,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -82546,39 +247594,35 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Controller": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -82600,64 +247644,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -82709,6 +247697,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/LicenseType" + } + } + } + }, "security": [ { "oauth": [ @@ -82718,11 +247715,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Controller": { + "\/Dropdowns\/SupplierType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -82732,7 +247728,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/SupplierType" } } }, @@ -82740,7 +247736,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/SupplierType" } } }, @@ -82748,7 +247744,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/SupplierType" } } } @@ -82770,7 +247766,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -82818,16 +247814,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -82886,39 +247872,35 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Controller": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -82940,64 +247922,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -83049,6 +247975,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SupplierType" + } + } + } + }, "security": [ { "oauth": [ @@ -83058,11 +247993,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/Controller": { + "\/Dropdowns\/HardDriveType": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -83072,7 +248006,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/HardDriveType" } } }, @@ -83080,7 +248014,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/HardDriveType" } } }, @@ -83088,7 +248022,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/HardDriveType" } } } @@ -83110,7 +248044,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -83158,16 +248092,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -83226,39 +248150,35 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Controller": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -83280,64 +248200,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -83389,6 +248253,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/HardDriveType" + } + } + } + }, "security": [ { "oauth": [ @@ -83398,11 +248271,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Controller": { + "\/Dropdowns\/Filesystem": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -83412,7 +248284,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/Filesystem" } } }, @@ -83420,7 +248292,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/Filesystem" } } }, @@ -83428,7 +248300,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/Filesystem" } } } @@ -83450,7 +248322,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -83498,16 +248370,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -83566,39 +248428,35 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Controller": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -83620,64 +248478,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -83729,6 +248531,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Filesystem" + } + } + } + }, "security": [ { "oauth": [ @@ -83738,11 +248549,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/Controller": { + "\/Dropdowns\/ApplianceEnvironment": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -83752,7 +248562,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } } }, @@ -83760,7 +248570,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } } }, @@ -83768,7 +248578,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } } } @@ -83790,7 +248600,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -83838,16 +248648,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -83906,39 +248706,35 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Controller": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -83960,64 +248756,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -84069,6 +248809,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ApplianceEnvironment" + } + } + } + }, "security": [ { "oauth": [ @@ -84078,11 +248827,10 @@ ] } }, - "\/Assets\/Computer\/{id}\/Component\/Drive": { + "\/Dropdowns\/Network": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -84092,7 +248840,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/Network" } } }, @@ -84100,7 +248848,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/Network" } } }, @@ -84108,7 +248856,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/Network" } } } @@ -84130,7 +248878,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -84178,16 +248926,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -84246,39 +248984,35 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Drive": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -84300,64 +249034,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -84409,6 +249087,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Network" + } + } + } + }, "security": [ { "oauth": [ @@ -84418,11 +249105,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Drive": { + "\/Dropdowns\/DomainRelation": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -84432,7 +249118,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/DomainRelation" } } }, @@ -84440,7 +249126,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/DomainRelation" } } }, @@ -84448,7 +249134,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/DomainRelation" } } } @@ -84470,7 +249156,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -84518,16 +249204,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -84586,39 +249262,35 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Drive": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -84640,64 +249312,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -84749,6 +249365,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRelation" + } + } + } + }, "security": [ { "oauth": [ @@ -84758,11 +249383,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/Drive": { + "\/Dropdowns\/Stencil": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -84772,7 +249396,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/Stencil" } } }, @@ -84780,7 +249404,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/Stencil" } } }, @@ -84788,7 +249412,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/Stencil" } } } @@ -84810,7 +249434,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -84858,16 +249482,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -84926,39 +249540,35 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Drive": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -84980,64 +249590,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -85089,6 +249643,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Stencil" + } + } + } + }, "security": [ { "oauth": [ @@ -85098,11 +249661,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Drive": { + "\/Dropdowns\/CameraImageFormat": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -85112,7 +249674,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CameraImageFormat" } } }, @@ -85120,7 +249682,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CameraImageFormat" } } }, @@ -85128,7 +249690,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CameraImageFormat" } } } @@ -85150,7 +249712,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -85199,15 +249761,115 @@ "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "integer" } }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a dropdown of a specific type", + "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -85259,6 +249921,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CameraImageFormat" + } + } + } + }, "security": [ { "oauth": [ @@ -85268,11 +249939,10 @@ ] } }, - "\/Assets\/Certificate\/{id}\/Component\/Drive": { + "\/Dropdowns\/CameraImageResolution": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -85282,7 +249952,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CameraImageResolution" } } }, @@ -85290,7 +249960,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CameraImageResolution" } } }, @@ -85298,7 +249968,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CameraImageResolution" } } } @@ -85320,7 +249990,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -85368,16 +250038,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -85436,39 +250096,35 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Drive": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { + "Dropdowns" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -85490,64 +250146,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -85599,6 +250199,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CameraImageResolution" + } + } + } + }, "security": [ { "oauth": [ @@ -85608,11 +250217,10 @@ ] } }, - "\/Assets\/Appliance\/{id}\/Component\/Drive": { + "\/Dropdowns\/CalendarCloseTime": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -85622,7 +250230,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } } }, @@ -85630,7 +250238,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } } }, @@ -85638,7 +250246,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DriveItem" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } } } @@ -85660,7 +250268,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -85708,16 +250316,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -85776,39 +250374,35 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Firmware": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -85830,64 +250424,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -85939,6 +250477,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CalendarCloseTime" + } + } + } + }, "security": [ { "oauth": [ @@ -85948,11 +250495,10 @@ ] } }, - "\/Assets\/Monitor\/{id}\/Component\/Firmware": { + "\/Dropdowns\/CalendarTimeRange": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -85962,7 +250508,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } } }, @@ -85970,7 +250516,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } } }, @@ -85978,7 +250524,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } } } @@ -86000,7 +250546,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -86048,16 +250594,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -86116,39 +250652,35 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Firmware": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -86170,64 +250702,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -86279,6 +250755,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CalendarTimeRange" + } + } + } + }, "security": [ { "oauth": [ @@ -86288,11 +250773,10 @@ ] } }, - "\/Assets\/Peripheral\/{id}\/Component\/Firmware": { + "\/Dropdowns\/Plug": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -86302,7 +250786,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/Plug" } } }, @@ -86310,7 +250794,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/Plug" } } }, @@ -86318,7 +250802,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/Plug" } } } @@ -86340,7 +250824,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -86388,16 +250872,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -86456,39 +250930,35 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Firmware": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -86510,64 +250980,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -86619,6 +251033,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Plug" + } + } + } + }, "security": [ { "oauth": [ @@ -86628,11 +251051,10 @@ ] } }, - "\/Assets\/Printer\/{id}\/Component\/Firmware": { + "\/Dropdowns\/Item_Plug": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -86642,7 +251064,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/Item_Plug" } } }, @@ -86650,7 +251072,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/Item_Plug" } } }, @@ -86658,7 +251080,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/Item_Plug" } } } @@ -86680,7 +251102,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -86728,16 +251150,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -86796,39 +251208,35 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Firmware": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -86850,64 +251258,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -86959,6 +251311,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Item_Plug" + } + } + } + }, "security": [ { "oauth": [ @@ -86968,11 +251329,10 @@ ] } }, - "\/Assets\/Certificate\/{id}\/Component\/Firmware": { + "\/Dropdowns\/PhonePowerSupply": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -86982,7 +251342,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/PhonePowerSupply" } } }, @@ -86990,7 +251350,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/PhonePowerSupply" } } }, @@ -86998,7 +251358,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "$ref": "#\/components\/schemas\/PhonePowerSupply" } } } @@ -87020,7 +251380,7 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "List or search dropdowns of a specific type", "parameters": [ { "name": "filter", @@ -87068,16 +251428,6 @@ }, "example": null }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -87136,39 +251486,35 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Firmware": { - "get": { + }, + "post": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -87190,64 +251536,8 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Create a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -87299,6 +251589,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PhonePowerSupply" + } + } + } + }, "security": [ { "oauth": [ @@ -87308,11 +251607,10 @@ ] } }, - "\/Assets\/Appliance\/{id}\/Component\/Firmware": { + "\/Dropdowns\/Location\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -87320,26 +251618,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "$ref": "#\/components\/schemas\/Location" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "$ref": "#\/components\/schemas\/Location" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } + "$ref": "#\/components\/schemas\/Location" } } } @@ -87360,61 +251649,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -87476,40 +251720,18 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/GenericDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Location" } } } @@ -87530,61 +251752,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -87639,6 +251816,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Location" + } + } + } + }, "security": [ { "oauth": [ @@ -87646,43 +251832,14 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/GenericDevice": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -87700,64 +251857,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -87818,11 +251939,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/GenericDevice": { + "\/Dropdowns\/State\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -87830,26 +251950,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/State" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/State" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/State" } } } @@ -87870,61 +251981,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -87986,40 +252052,18 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/GenericDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/State" } } } @@ -88040,61 +252084,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -88149,6 +252148,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/State" + } + } + } + }, "security": [ { "oauth": [ @@ -88156,43 +252164,14 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/GenericDevice": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -88210,64 +252189,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -88328,11 +252271,10 @@ ] } }, - "\/Assets\/Printer\/{id}\/Component\/GenericDevice": { + "\/Dropdowns\/Manufacturer\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -88340,26 +252282,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Manufacturer" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Manufacturer" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Manufacturer" } } } @@ -88380,61 +252313,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -88496,40 +252384,18 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/GenericDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Manufacturer" } } } @@ -88550,61 +252416,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -88659,6 +252480,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Manufacturer" + } + } + } + }, "security": [ { "oauth": [ @@ -88666,43 +252496,14 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/GenericDevice": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -88720,64 +252521,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -88838,11 +252603,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/GenericDevice": { + "\/Dropdowns\/Calendar\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -88850,26 +252614,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Calendar" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Calendar" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Calendar" } } } @@ -88890,61 +252645,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -89006,40 +252716,18 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/GenericDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } + "$ref": "#\/components\/schemas\/Calendar" } } } @@ -89060,61 +252748,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -89169,6 +252812,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Calendar" + } + } + } + }, "security": [ { "oauth": [ @@ -89176,43 +252828,14 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/GraphicCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -89230,64 +252853,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -89348,11 +252935,10 @@ ] } }, - "\/Assets\/Monitor\/{id}\/Component\/GraphicCard": { + "\/Dropdowns\/WifiNetwork\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -89360,26 +252946,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/WifiNetwork" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/WifiNetwork" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/WifiNetwork" } } } @@ -89400,61 +252977,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -89516,40 +253048,18 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/GraphicCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/WifiNetwork" } } } @@ -89570,64 +253080,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/WifiNetwork" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -89688,11 +253267,10 @@ ] } }, - "\/Assets\/Peripheral\/{id}\/Component\/GraphicCard": { + "\/Dropdowns\/NetworkPortFiberchannelType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -89700,26 +253278,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" } } } @@ -89740,61 +253309,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -89856,40 +253380,18 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/GraphicCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" } } } @@ -89910,61 +253412,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -90019,6 +253476,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + } + } + } + }, "security": [ { "oauth": [ @@ -90026,43 +253492,14 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/GraphicCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -90080,64 +253517,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -90198,11 +253599,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/GraphicCard": { + "\/Dropdowns\/DatabaseInstanceCategory\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -90210,26 +253610,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" } } } @@ -90250,61 +253641,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -90366,40 +253712,18 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/GraphicCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" } } } @@ -90420,61 +253744,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -90529,6 +253808,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + } + } + } + }, "security": [ { "oauth": [ @@ -90536,43 +253824,14 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/GraphicCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -90590,64 +253849,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -90708,11 +253931,10 @@ ] } }, - "\/Assets\/Appliance\/{id}\/Component\/GraphicCard": { + "\/Dropdowns\/DatabaseInstanceType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -90720,26 +253942,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceType" } } } @@ -90760,61 +253973,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -90876,40 +254044,18 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/HardDrive": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/DatabaseInstanceType" } } } @@ -90930,61 +254076,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -91039,6 +254140,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DatabaseInstanceType" + } + } + } + }, "security": [ { "oauth": [ @@ -91046,43 +254156,14 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/HardDrive": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -91100,64 +254181,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -91218,11 +254263,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/HardDrive": { + "\/Dropdowns\/ITILCategory\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -91230,26 +254274,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/ITILCategory" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/ITILCategory" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/ITILCategory" } } } @@ -91270,61 +254305,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -91386,40 +254376,18 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/HardDrive": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/ITILCategory" } } } @@ -91440,64 +254408,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ITILCategory" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -91558,11 +254595,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/HardDrive": { + "\/Dropdowns\/TaskCategory\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -91570,26 +254606,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/TaskCategory" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/TaskCategory" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/TaskCategory" } } } @@ -91610,61 +254637,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -91726,40 +254708,18 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/HardDrive": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/TaskCategory" } } } @@ -91780,61 +254740,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -91889,6 +254804,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TaskCategory" + } + } + } + }, "security": [ { "oauth": [ @@ -91896,43 +254820,14 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/HardDrive": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -91950,64 +254845,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -92068,11 +254927,10 @@ ] } }, - "\/Assets\/Certificate\/{id}\/Component\/HardDrive": { + "\/Dropdowns\/RequestType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -92080,26 +254938,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/RequestType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/RequestType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/RequestType" } } } @@ -92120,61 +254969,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -92236,40 +255040,18 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/HardDrive": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } + "$ref": "#\/components\/schemas\/RequestType" } } } @@ -92290,61 +255072,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -92399,6 +255136,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RequestType" + } + } + } + }, "security": [ { "oauth": [ @@ -92406,43 +255152,14 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/HardDrive": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -92460,64 +255177,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -92578,11 +255259,10 @@ ] } }, - "\/Assets\/Computer\/{id}\/Component\/Memory": { + "\/Dropdowns\/EventCategory\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -92590,26 +255270,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/EventCategory" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/EventCategory" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/EventCategory" } } } @@ -92630,61 +255301,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -92746,40 +255372,18 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Memory": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/EventCategory" } } } @@ -92800,61 +255404,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -92909,6 +255468,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EventCategory" + } + } + } + }, "security": [ { "oauth": [ @@ -92916,43 +255484,14 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Memory": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -92970,64 +255509,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -93088,11 +255591,10 @@ ] } }, - "\/Assets\/Peripheral\/{id}\/Component\/Memory": { + "\/Dropdowns\/USBVendor\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -93100,26 +255602,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/USBVendor" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/USBVendor" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/USBVendor" } } } @@ -93140,61 +255633,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -93256,40 +255704,18 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Memory": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/USBVendor" } } } @@ -93310,64 +255736,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/USBVendor" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -93428,11 +255923,10 @@ ] } }, - "\/Assets\/Printer\/{id}\/Component\/Memory": { + "\/Dropdowns\/PCIVendor\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -93440,26 +255934,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/PCIVendor" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/PCIVendor" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/PCIVendor" } } } @@ -93480,61 +255965,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -93596,40 +256036,18 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Memory": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/PCIVendor" } } } @@ -93650,61 +256068,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -93759,6 +256132,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PCIVendor" + } + } + } + }, "security": [ { "oauth": [ @@ -93766,43 +256148,14 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Memory": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -93820,64 +256173,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -93938,11 +256255,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/Memory": { + "\/Dropdowns\/DenyList\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -93950,26 +256266,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/DenyList" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/DenyList" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/DenyList" } } } @@ -93990,61 +256297,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -94106,40 +256368,18 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Memory": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } + "$ref": "#\/components\/schemas\/DenyList" } } } @@ -94160,61 +256400,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -94269,6 +256464,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DenyList" + } + } + } + }, "security": [ { "oauth": [ @@ -94276,43 +256480,14 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/NetworkCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -94330,64 +256505,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -94448,11 +256587,10 @@ ] } }, - "\/Assets\/Monitor\/{id}\/Component\/NetworkCard": { + "\/Dropdowns\/DeniedMailContent\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -94460,26 +256598,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/DeniedMailContent" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/DeniedMailContent" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/DeniedMailContent" } } } @@ -94500,61 +256629,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -94616,40 +256700,18 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/NetworkCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/DeniedMailContent" } } } @@ -94670,61 +256732,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -94779,6 +256796,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DeniedMailContent" + } + } + } + }, "security": [ { "oauth": [ @@ -94786,43 +256812,14 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/NetworkCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -94840,64 +256837,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -94958,11 +256919,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/NetworkCard": { + "\/Dropdowns\/CloseTime\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -94970,26 +256930,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/CloseTime" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/CloseTime" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/CloseTime" } } } @@ -95010,61 +256961,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -95126,40 +257032,18 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/NetworkCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/CloseTime" } } } @@ -95180,64 +257064,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CloseTime" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -95298,11 +257251,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/NetworkCard": { + "\/Dropdowns\/BusinessCriticity\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -95310,26 +257262,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/BusinessCriticity" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/BusinessCriticity" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/BusinessCriticity" } } } @@ -95350,61 +257293,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -95466,40 +257364,18 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/NetworkCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/BusinessCriticity" } } } @@ -95520,61 +257396,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -95629,6 +257460,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/BusinessCriticity" + } + } + } + }, "security": [ { "oauth": [ @@ -95636,43 +257476,14 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/NetworkCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -95690,64 +257501,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -95808,11 +257583,10 @@ ] } }, - "\/Assets\/Appliance\/{id}\/Component\/NetworkCard": { + "\/Dropdowns\/DocumentCategory\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -95820,26 +257594,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/DocumentCategory" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/DocumentCategory" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } + "$ref": "#\/components\/schemas\/DocumentCategory" } } } @@ -95860,61 +257625,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -95976,40 +257696,18 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/PCIDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/DocumentCategory" } } } @@ -96030,61 +257728,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -96139,6 +257792,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DocumentCategory" + } + } + } + }, "security": [ { "oauth": [ @@ -96146,43 +257808,14 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/PCIDevice": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -96200,64 +257833,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -96318,11 +257915,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/PCIDevice": { + "\/Dropdowns\/DocumentType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -96330,26 +257926,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/DocumentType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/DocumentType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/DocumentType" } } } @@ -96370,61 +257957,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -96486,40 +258028,18 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/PCIDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/DocumentType" } } } @@ -96540,61 +258060,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -96649,6 +258124,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DocumentType" + } + } + } + }, "security": [ { "oauth": [ @@ -96656,43 +258140,14 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/PCIDevice": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -96710,64 +258165,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -96828,11 +258247,10 @@ ] } }, - "\/Assets\/Printer\/{id}\/Component\/PCIDevice": { + "\/Dropdowns\/VirtualMachineType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -96840,26 +258258,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineType" } } } @@ -96880,61 +258289,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -96996,40 +258360,18 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/PCIDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineType" } } } @@ -97050,64 +258392,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachineType" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -97168,11 +258579,10 @@ ] } }, - "\/Assets\/Certificate\/{id}\/Component\/PCIDevice": { + "\/Dropdowns\/VirtualMachineModel\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -97180,26 +258590,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineModel" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineModel" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineModel" } } } @@ -97220,61 +258621,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -97336,40 +258692,18 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/PCIDevice": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineModel" } } } @@ -97390,61 +258724,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -97499,6 +258788,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachineModel" + } + } + } + }, "security": [ { "oauth": [ @@ -97506,43 +258804,14 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/PCIDevice": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -97560,64 +258829,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -97678,11 +258911,10 @@ ] } }, - "\/Assets\/Computer\/{id}\/Component\/PowerSupply": { + "\/Dropdowns\/VirtualMachineState\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -97690,26 +258922,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineState" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineState" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineState" } } } @@ -97730,61 +258953,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -97846,40 +259024,18 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/PowerSupply": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/VirtualMachineState" } } } @@ -97900,61 +259056,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -98009,6 +259120,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/VirtualMachineState" + } + } + } + }, "security": [ { "oauth": [ @@ -98016,43 +259136,14 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/PowerSupply": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -98070,64 +259161,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -98188,11 +259243,10 @@ ] } }, - "\/Assets\/Peripheral\/{id}\/Component\/PowerSupply": { + "\/Dropdowns\/CableType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -98200,26 +259254,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableType" } } } @@ -98240,61 +259285,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -98356,40 +259356,18 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/PowerSupply": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableType" } } } @@ -98410,61 +259388,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -98519,6 +259452,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CableType" + } + } + } + }, "security": [ { "oauth": [ @@ -98526,43 +259468,14 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/PowerSupply": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -98580,64 +259493,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -98698,11 +259575,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/PowerSupply": { + "\/Dropdowns\/CableStrand\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -98710,26 +259586,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableStrand" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableStrand" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableStrand" } } } @@ -98750,61 +259617,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -98866,40 +259688,18 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/PowerSupply": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/CableStrand" } } } @@ -98920,64 +259720,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CableStrand" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -99038,11 +259907,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/PowerSupply": { + "\/Dropdowns\/AutoUpdateSystem\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -99050,26 +259918,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/AutoUpdateSystem" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/AutoUpdateSystem" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/AutoUpdateSystem" } } } @@ -99090,61 +259949,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -99206,40 +260020,18 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/PowerSupply": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } + "$ref": "#\/components\/schemas\/AutoUpdateSystem" } } } @@ -99260,61 +260052,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -99369,6 +260116,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/AutoUpdateSystem" + } + } + } + }, "security": [ { "oauth": [ @@ -99376,43 +260132,14 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Processor": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -99430,64 +260157,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -99548,11 +260239,10 @@ ] } }, - "\/Assets\/Monitor\/{id}\/Component\/Processor": { + "\/Dropdowns\/FollowupTemplate\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -99560,26 +260250,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/FollowupTemplate" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/FollowupTemplate" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/FollowupTemplate" } } } @@ -99600,61 +260281,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -99716,40 +260352,18 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Processor": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/FollowupTemplate" } } } @@ -99770,61 +260384,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -99879,6 +260448,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/FollowupTemplate" + } + } + } + }, "security": [ { "oauth": [ @@ -99886,43 +260464,14 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Processor": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -99940,64 +260489,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -100058,11 +260571,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/Processor": { + "\/Dropdowns\/TaskTemplate\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -100070,26 +260582,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/TaskTemplate" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/TaskTemplate" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/TaskTemplate" } } } @@ -100110,61 +260613,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -100226,40 +260684,18 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Processor": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/TaskTemplate" } } } @@ -100280,61 +260716,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -100389,6 +260780,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/TaskTemplate" + } + } + } + }, "security": [ { "oauth": [ @@ -100396,43 +260796,14 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Processor": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -100450,64 +260821,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -100568,11 +260903,10 @@ ] } }, - "\/Assets\/Certificate\/{id}\/Component\/Processor": { + "\/Dropdowns\/SolutionTemplate\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -100580,26 +260914,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/SolutionTemplate" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/SolutionTemplate" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/SolutionTemplate" } } } @@ -100620,61 +260945,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -100736,40 +261016,18 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Processor": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/SolutionTemplate" } } } @@ -100790,64 +261048,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SolutionTemplate" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -100908,11 +261235,10 @@ ] } }, - "\/Assets\/Appliance\/{id}\/Component\/Processor": { + "\/Dropdowns\/ValidationTemplate\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -100920,26 +261246,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/ValidationTemplate" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/ValidationTemplate" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } + "$ref": "#\/components\/schemas\/ValidationTemplate" } } } @@ -100960,61 +261277,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -101076,40 +261348,18 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Sensor": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ValidationTemplate" } } } @@ -101130,61 +261380,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -101239,6 +261444,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ValidationTemplate" + } + } + } + }, "security": [ { "oauth": [ @@ -101246,43 +261460,14 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Sensor": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -101300,64 +261485,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -101418,11 +261567,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Sensor": { + "\/Dropdowns\/SolutionType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -101430,26 +261578,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/SolutionType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/SolutionType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/SolutionType" } } } @@ -101470,61 +261609,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -101586,40 +261680,18 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Sensor": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/SolutionType" } } } @@ -101640,61 +261712,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -101749,6 +261776,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SolutionType" + } + } + } + }, "security": [ { "oauth": [ @@ -101756,43 +261792,14 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Sensor": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -101810,64 +261817,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -101928,11 +261899,10 @@ ] } }, - "\/Assets\/Printer\/{id}\/Component\/Sensor": { + "\/Dropdowns\/ApprovalStep\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -101940,26 +261910,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ApprovalStep" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ApprovalStep" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ApprovalStep" } } } @@ -101980,61 +261941,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -102096,40 +262012,18 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Sensor": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ApprovalStep" } } } @@ -102150,61 +262044,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -102259,6 +262108,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ApprovalStep" + } + } + } + }, "security": [ { "oauth": [ @@ -102266,43 +262124,14 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Sensor": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -102320,64 +262149,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -102438,11 +262231,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/Sensor": { + "\/Dropdowns\/ComputerModel\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -102450,26 +262242,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ComputerModel" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ComputerModel" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ComputerModel" } } } @@ -102490,61 +262273,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -102606,40 +262344,18 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Sensor": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } + "$ref": "#\/components\/schemas\/ComputerModel" } } } @@ -102660,64 +262376,133 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ComputerModel" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -102778,11 +262563,10 @@ ] } }, - "\/Assets\/Computer\/{id}\/Component\/SIMCard": { + "\/Dropdowns\/ComputerType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -102790,26 +262574,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/ComputerType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/ComputerType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/ComputerType" } } } @@ -102830,61 +262605,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -102946,40 +262676,18 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/SIMCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/ComputerType" } } } @@ -103000,61 +262708,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -103109,6 +262772,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ComputerType" + } + } + } + }, "security": [ { "oauth": [ @@ -103116,43 +262788,14 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/SIMCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -103170,64 +262813,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -103288,11 +262895,10 @@ ] } }, - "\/Assets\/Peripheral\/{id}\/Component\/SIMCard": { + "\/Dropdowns\/MonitorModel\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -103300,26 +262906,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorModel" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorModel" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorModel" } } } @@ -103340,61 +262937,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -103456,40 +263008,18 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/SIMCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorModel" } } } @@ -103510,61 +263040,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -103619,6 +263104,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/MonitorModel" + } + } + } + }, "security": [ { "oauth": [ @@ -103626,43 +263120,14 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/SIMCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -103680,64 +263145,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -103798,11 +263227,10 @@ ] } }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/SIMCard": { + "\/Dropdowns\/MonitorType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -103810,26 +263238,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorType" } } } @@ -103850,61 +263269,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -103966,40 +263340,18 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/SIMCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/MonitorType" } } } @@ -104020,61 +263372,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -104129,6 +263436,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/MonitorType" + } + } + } + }, "security": [ { "oauth": [ @@ -104136,43 +263452,14 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/SIMCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -104190,64 +263477,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -104308,11 +263559,10 @@ ] } }, - "\/Assets\/Appliance\/{id}\/Component\/SIMCard": { + "\/Dropdowns\/NetworkEquipmentModel\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -104320,26 +263570,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" } } } @@ -104360,61 +263601,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -104476,40 +263672,18 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/SoundCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" } } } @@ -104530,61 +263704,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -104639,6 +263768,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkEquipmentModel" + } + } + } + }, "security": [ { "oauth": [ @@ -104646,118 +263784,53 @@ ] } ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/SoundCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "400": { + "description": "Bad request" }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -104818,11 +263891,10 @@ ] } }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/SoundCard": { + "\/Dropdowns\/NetworkEquipmentType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -104830,26 +263902,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentType" } } } @@ -104870,61 +263933,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -104986,40 +264004,18 @@ ] } ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/SoundCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/NetworkEquipmentType" } } } @@ -105040,61 +264036,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -105149,6 +264100,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkEquipmentType" + } + } + } + }, "security": [ { "oauth": [ @@ -105156,43 +264116,14 @@ ] } ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/SoundCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -105210,64 +264141,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -105328,11 +264223,10 @@ ] } }, - "\/Assets\/Printer\/{id}\/Component\/SoundCard": { + "\/Dropdowns\/PeripheralModel\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -105340,26 +264234,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralModel" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralModel" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralModel" } } } @@ -105380,61 +264265,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -105496,40 +264336,18 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/SoundCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralModel" } } } @@ -105550,61 +264368,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -105659,6 +264432,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralModel" + } + } + } + }, "security": [ { "oauth": [ @@ -105666,43 +264448,14 @@ ] } ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/SoundCard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -105720,64 +264473,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -105838,11 +264555,10 @@ ] } }, - "\/Assets\/Unmanaged\/{id}\/Component\/SoundCard": { + "\/Dropdowns\/PeripheralType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -105850,26 +264566,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralType" } } } @@ -105890,61 +264597,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -106006,40 +264668,18 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/SoundCard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } + "$ref": "#\/components\/schemas\/PeripheralType" } } } @@ -106060,61 +264700,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -106169,6 +264764,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PeripheralType" + } + } + } + }, "security": [ { "oauth": [ @@ -106176,43 +264780,14 @@ ] } ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Systemboard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -106230,64 +264805,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -106348,11 +264887,10 @@ ] } }, - "\/Assets\/Monitor\/{id}\/Component\/Systemboard": { + "\/Dropdowns\/PhoneModel\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -106360,26 +264898,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneModel" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneModel" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneModel" } } } @@ -106400,61 +264929,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -106516,40 +265000,18 @@ ] } ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Systemboard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneModel" } } } @@ -106570,61 +265032,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -106668,61 +265085,41 @@ "value": "en_GB", "summary": "English (United Kingdom)" }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PhoneModel" } } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -106740,64 +265137,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -106858,11 +265219,10 @@ ] } }, - "\/Assets\/Phone\/{id}\/Component\/Systemboard": { + "\/Dropdowns\/PhoneType\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -106870,26 +265230,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneType" } } } @@ -106910,61 +265261,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -107026,40 +265332,18 @@ ] } ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Systemboard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PhoneType" } } } @@ -107080,61 +265364,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -107189,6 +265428,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PhoneType" + } + } + } + }, "security": [ { "oauth": [ @@ -107196,43 +265444,14 @@ ] } ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Systemboard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -107250,64 +265469,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -107368,11 +265551,10 @@ ] } }, - "\/Assets\/Certificate\/{id}\/Component\/Systemboard": { + "\/Dropdowns\/PrinterModel\/{id}": { "get": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { @@ -107380,26 +265562,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PrinterModel" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PrinterModel" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PrinterModel" } } } @@ -107420,61 +265593,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Get an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -107536,40 +265664,18 @@ ] } ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Systemboard": { - "get": { + }, + "patch": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } + "$ref": "#\/components\/schemas\/PrinterModel" } } } @@ -107590,61 +265696,16 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Update an existing dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -107699,6 +265760,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/PrinterModel" + } + } + } + }, "security": [ { "oauth": [ @@ -107706,43 +265776,14 @@ ] } ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Systemboard": { - "get": { + }, + "delete": { "tags": [ - "Assets", - "Components" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -107760,64 +265801,28 @@ "description": "Internal server error" } }, - "description": "List or search all components for an asset", + "description": "Delete a dropdown of a specific type", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -107878,10 +265883,10 @@ ] } }, - "\/Assistance\/Ticket": { + "\/Dropdowns\/PrinterType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -107889,26 +265894,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Ticket" - } + "$ref": "#\/components\/schemas\/PrinterType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Ticket" - } + "$ref": "#\/components\/schemas\/PrinterType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Ticket" - } + "$ref": "#\/components\/schemas\/PrinterType" } } } @@ -107929,53 +265925,18 @@ "description": "Internal server error" } }, - "description": "List or search Tickets, Changes or Problems", + "description": "Get an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "format": "int32", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -108036,35 +265997,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/PrinterType" } } } @@ -108085,8 +266028,19 @@ "description": "Internal server error" } }, - "description": "Create a new new Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ + { + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -108142,7 +266096,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Ticket" + "$ref": "#\/components\/schemas\/PrinterType" } } } @@ -108154,42 +266108,14 @@ ] } ] - } - }, - "\/Assistance\/Change": { - "get": { + }, + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Change" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Change" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Change" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -108207,53 +266133,27 @@ "description": "Internal server error" } }, - "description": "List or search Tickets, Changes or Problems", + "description": "Delete a dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "format": "int32", + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -108313,36 +266213,30 @@ ] } ] - }, - "post": { + } + }, + "\/Dropdowns\/EnclosureModel\/{id}": { + "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/EnclosureModel" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/EnclosureModel" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/EnclosureModel" } } } @@ -108363,8 +266257,19 @@ "description": "Internal server error" } }, - "description": "Create a new new Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ + { + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -108416,15 +266321,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Change" - } - } - } - }, "security": [ { "oauth": [ @@ -108432,39 +266328,18 @@ ] } ] - } - }, - "\/Assistance\/Problem": { - "get": { + }, + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Problem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Problem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Problem" - } + "$ref": "#\/components\/schemas\/EnclosureModel" } } } @@ -108485,53 +266360,18 @@ "description": "Internal server error" } }, - "description": "List or search Tickets, Changes or Problems", + "description": "Update an existing dropdown of a specific type", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "format": "int32", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -108584,6 +266424,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EnclosureModel" + } + } + } + }, "security": [ { "oauth": [ @@ -108592,38 +266441,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -108641,8 +266465,28 @@ "description": "Internal server error" } }, - "description": "Create a new new Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ + { + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -108694,15 +266538,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Problem" - } - } - } - }, "security": [ { "oauth": [ @@ -108712,10 +266547,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}": { + "\/Dropdowns\/ApplianceType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -108723,17 +266558,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Ticket" + "$ref": "#\/components\/schemas\/ApplianceType" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Ticket" + "$ref": "#\/components\/schemas\/ApplianceType" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Ticket" + "$ref": "#\/components\/schemas\/ApplianceType" } } } @@ -108754,11 +266589,11 @@ "description": "Internal server error" } }, - "description": "Get an existing Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -108828,7 +266663,7 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -108836,7 +266671,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Ticket" + "$ref": "#\/components\/schemas\/ApplianceType" } } } @@ -108857,11 +266692,11 @@ "description": "Internal server error" } }, - "description": "Update an existing Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -108925,7 +266760,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Ticket" + "$ref": "#\/components\/schemas\/ApplianceType" } } } @@ -108940,7 +266775,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -108962,11 +266797,11 @@ "description": "Internal server error" } }, - "description": "Delete a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109044,10 +266879,10 @@ ] } }, - "\/Assistance\/Change\/{id}": { + "\/Dropdowns\/BudgetType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -109055,17 +266890,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Change" + "$ref": "#\/components\/schemas\/BudgetType" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Change" + "$ref": "#\/components\/schemas\/BudgetType" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Change" + "$ref": "#\/components\/schemas\/BudgetType" } } } @@ -109086,11 +266921,11 @@ "description": "Internal server error" } }, - "description": "Get an existing Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109160,7 +266995,7 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -109168,7 +267003,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Change" + "$ref": "#\/components\/schemas\/BudgetType" } } } @@ -109189,11 +267024,11 @@ "description": "Internal server error" } }, - "description": "Update an existing Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109257,7 +267092,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Change" + "$ref": "#\/components\/schemas\/BudgetType" } } } @@ -109272,7 +267107,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -109294,11 +267129,11 @@ "description": "Internal server error" } }, - "description": "Delete a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109376,10 +267211,10 @@ ] } }, - "\/Assistance\/Problem\/{id}": { + "\/Dropdowns\/CartridgeItemType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -109387,17 +267222,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Problem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Problem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Problem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } } } @@ -109418,11 +267253,11 @@ "description": "Internal server error" } }, - "description": "Get an existing Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109492,7 +267327,7 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -109500,7 +267335,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Problem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } } } @@ -109521,11 +267356,11 @@ "description": "Internal server error" } }, - "description": "Update an existing Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109589,7 +267424,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Problem" + "$ref": "#\/components\/schemas\/CartridgeItemType" } } } @@ -109604,7 +267439,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -109626,11 +267461,11 @@ "description": "Internal server error" } }, - "description": "Delete a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109708,14 +267543,31 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/Timeline": { + "\/Dropdowns\/CertificateType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CertificateType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/CertificateType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/CertificateType" + } + } + } }, "400": { "description": "Bad request" @@ -109733,11 +267585,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109804,16 +267656,21 @@ ] } ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline": { - "get": { + }, + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "Success" + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CertificateType" + } + } + } }, "400": { "description": "Bad request" @@ -109831,11 +267688,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109895,6 +267752,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/CertificateType" + } + } + } + }, "security": [ { "oauth": [ @@ -109902,16 +267768,14 @@ ] } ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline": { - "get": { + }, + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "200": { - "description": "Success" + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -109929,11 +267793,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -109942,6 +267806,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -110002,10 +267875,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Followup": { + "\/Dropdowns\/ClusterType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -110013,26 +267886,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } + "$ref": "#\/components\/schemas\/ClusterType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } + "$ref": "#\/components\/schemas\/ClusterType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } + "$ref": "#\/components\/schemas\/ClusterType" } } } @@ -110053,11 +267917,114 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "patch": { + "tags": [ + "Dropdowns" + ], + "responses": { + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ClusterType" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an existing dropdown of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110117,6 +268084,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ClusterType" + } + } + } + }, "security": [ { "oauth": [ @@ -110125,38 +268101,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -110174,11 +268125,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110187,6 +268138,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -110238,15 +268198,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, "security": [ { "oauth": [ @@ -110256,10 +268207,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Followup": { + "\/Dropdowns\/ContactType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -110267,26 +268218,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } + "$ref": "#\/components\/schemas\/ContactType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } + "$ref": "#\/components\/schemas\/ContactType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } + "$ref": "#\/components\/schemas\/ContactType" } } } @@ -110307,11 +268249,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110379,35 +268321,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/ContactType" } } } @@ -110428,11 +268352,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110496,7 +268420,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/ContactType" } } } @@ -110508,42 +268432,14 @@ ] } ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Followup": { - "get": { + }, + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -110561,11 +268457,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110574,6 +268470,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -110632,36 +268537,30 @@ ] } ] - }, - "post": { + } + }, + "\/Dropdowns\/ContractType\/{id}": { + "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/ContractType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ContractType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ContractType" } } } @@ -110682,11 +268581,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110746,15 +268645,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, "security": [ { "oauth": [ @@ -110762,39 +268652,18 @@ ] } ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Document": { - "get": { + }, + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } + "$ref": "#\/components\/schemas\/ContractType" } } } @@ -110815,11 +268684,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110879,6 +268748,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ContractType" + } + } + } + }, "security": [ { "oauth": [ @@ -110887,38 +268765,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -110936,11 +268789,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -110949,6 +268802,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -111000,15 +268862,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, "security": [ { "oauth": [ @@ -111018,10 +268871,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Document": { + "\/Dropdowns\/ConsumableItemType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -111029,26 +268882,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } + "$ref": "#\/components\/schemas\/ConsumableItemType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } + "$ref": "#\/components\/schemas\/ConsumableItemType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } + "$ref": "#\/components\/schemas\/ConsumableItemType" } } } @@ -111069,11 +268913,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -111141,35 +268985,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/ConsumableItemType" } } } @@ -111190,11 +269016,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -111258,7 +269084,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/ConsumableItemType" } } } @@ -111270,42 +269096,14 @@ ] } ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Document": { - "get": { + }, + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -111323,11 +269121,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -111336,6 +269134,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -111394,36 +269201,30 @@ ] } ] - }, - "post": { + } + }, + "\/Dropdowns\/DomainRecordType\/{id}": { + "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/DomainRecordType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecordType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecordType" } } } @@ -111444,11 +269245,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -111508,15 +269309,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, "security": [ { "oauth": [ @@ -111524,39 +269316,18 @@ ] } ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Solution": { - "get": { + }, + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } + "$ref": "#\/components\/schemas\/DomainRecordType" } } } @@ -111577,11 +269348,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -111641,6 +269412,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/DomainRecordType" + } + } + } + }, "security": [ { "oauth": [ @@ -111649,38 +269429,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -111698,11 +269453,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -111711,6 +269466,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -111762,15 +269526,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, "security": [ { "oauth": [ @@ -111780,10 +269535,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Solution": { + "\/Dropdowns\/DomainType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -111791,26 +269546,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } + "$ref": "#\/components\/schemas\/DomainType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } + "$ref": "#\/components\/schemas\/DomainType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } + "$ref": "#\/components\/schemas\/DomainType" } } } @@ -111831,11 +269577,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -111903,35 +269649,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/DomainType" } } } @@ -111952,11 +269680,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112020,7 +269748,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/DomainType" } } } @@ -112032,12 +269760,117 @@ ] } ] + }, + "delete": { + "tags": [ + "Dropdowns" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a dropdown of a specific type", + "parameters": [ + { + "name": "id", + "description": "The ID of the dropdown item", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] } }, - "\/Assistance\/Problem\/{id}\/Timeline\/Solution": { + "\/Dropdowns\/LineType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -112045,26 +269878,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } + "$ref": "#\/components\/schemas\/LineType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } + "$ref": "#\/components\/schemas\/LineType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } + "$ref": "#\/components\/schemas\/LineType" } } } @@ -112085,11 +269909,11 @@ "description": "Internal server error" } }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112157,35 +269981,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/LineType" } } } @@ -112206,11 +270012,11 @@ "description": "Internal server error" } }, - "description": "Create a new timeline item for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112274,7 +270080,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/LineType" } } } @@ -112286,42 +270092,14 @@ ] } ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Task": { - "get": { + }, + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -112339,11 +270117,11 @@ "description": "Internal server error" } }, - "description": "Get all tasks for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112352,6 +270130,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -112410,36 +270197,30 @@ ] } ] - }, - "post": { + } + }, + "\/Dropdowns\/NetworkPortType\/{id}": { + "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/NetworkPortType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkPortType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkPortType" } } } @@ -112460,11 +270241,11 @@ "description": "Internal server error" } }, - "description": "Create a new task for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112524,15 +270305,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - } - }, "security": [ { "oauth": [ @@ -112540,39 +270312,18 @@ ] } ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Task": { - "get": { + }, + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeTask" - } + "$ref": "#\/components\/schemas\/NetworkPortType" } } } @@ -112593,11 +270344,11 @@ "description": "Internal server error" } }, - "description": "Get all tasks for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112657,6 +270408,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NetworkPortType" + } + } + } + }, "security": [ { "oauth": [ @@ -112665,38 +270425,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -112714,11 +270449,11 @@ "description": "Internal server error" } }, - "description": "Create a new task for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112727,6 +270462,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -112778,15 +270522,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - } - }, "security": [ { "oauth": [ @@ -112796,10 +270531,10 @@ ] } }, - "\/Assistance\/Problem\/{id}\/Timeline\/Task": { + "\/Dropdowns\/ProjectTaskType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -112807,26 +270542,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemTask" - } + "$ref": "#\/components\/schemas\/ProjectTaskType" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemTask" - } + "$ref": "#\/components\/schemas\/ProjectTaskType" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemTask" - } + "$ref": "#\/components\/schemas\/ProjectTaskType" } } } @@ -112847,11 +270573,11 @@ "description": "Internal server error" } }, - "description": "Get all tasks for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -112919,35 +270645,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/ProjectTaskType" } } } @@ -112968,11 +270676,11 @@ "description": "Internal server error" } }, - "description": "Create a new task for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113036,7 +270744,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" + "$ref": "#\/components\/schemas\/ProjectTaskType" } } } @@ -113048,42 +270756,14 @@ ] } ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Validation": { - "get": { + }, + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -113101,11 +270781,11 @@ "description": "Internal server error" } }, - "description": "Get all validations for a Ticket or Change", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113114,6 +270794,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -113172,36 +270861,30 @@ ] } ] - }, - "post": { + } + }, + "\/Dropdowns\/ProjectType\/{id}": { + "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/ProjectType" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectType" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectType" } } } @@ -113222,11 +270905,11 @@ "description": "Internal server error" } }, - "description": "Create a new validation for a Ticket or Change", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113286,15 +270969,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - } - }, "security": [ { "oauth": [ @@ -113302,39 +270976,18 @@ ] } ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Validation": { - "get": { + }, + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } + "$ref": "#\/components\/schemas\/ProjectType" } } } @@ -113355,11 +271008,11 @@ "description": "Internal server error" } }, - "description": "Get all validations for a Ticket or Change", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113419,6 +271072,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ProjectType" + } + } + } + }, "security": [ { "oauth": [ @@ -113427,38 +271089,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -113476,11 +271113,11 @@ "description": "Internal server error" } }, - "description": "Create a new validation for a Ticket or Change", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113489,6 +271126,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -113540,15 +271186,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - } - }, "security": [ { "oauth": [ @@ -113558,10 +271195,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Followup\/{subitem_id}": { + "\/Dropdowns\/LicenseType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -113569,17 +271206,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/LicenseType" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/LicenseType" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/LicenseType" } } } @@ -113600,11 +271237,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113613,16 +271250,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -113684,15 +271311,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/LicenseType" } } } @@ -113713,11 +271340,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113726,16 +271353,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -113791,7 +271408,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/LicenseType" } } } @@ -113806,7 +271423,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -113828,11 +271445,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113841,16 +271458,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -113920,10 +271527,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Followup\/{subitem_id}": { + "\/Dropdowns\/SupplierType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -113931,17 +271538,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/SupplierType" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/SupplierType" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/SupplierType" } } } @@ -113962,11 +271569,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -113975,16 +271582,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -114046,15 +271643,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/SupplierType" } } } @@ -114075,11 +271672,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114088,16 +271685,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -114153,7 +271740,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/SupplierType" } } } @@ -114168,7 +271755,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -114190,11 +271777,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114203,16 +271790,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -114282,10 +271859,10 @@ ] } }, - "\/Assistance\/Problem\/{id}\/Timeline\/Followup\/{subitem_id}": { + "\/Dropdowns\/HardDriveType\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -114293,17 +271870,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/HardDriveType" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/HardDriveType" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/HardDriveType" } } } @@ -114324,11 +271901,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114337,16 +271914,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -114408,15 +271975,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/HardDriveType" } } } @@ -114437,11 +272004,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114450,16 +272017,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -114515,7 +272072,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Followup" + "$ref": "#\/components\/schemas\/HardDriveType" } } } @@ -114530,7 +272087,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -114552,11 +272109,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114565,16 +272122,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -114644,10 +272191,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Document\/{subitem_id}": { + "\/Dropdowns\/Filesystem\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -114655,17 +272202,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Filesystem" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Filesystem" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Filesystem" } } } @@ -114686,11 +272233,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114699,16 +272246,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -114770,15 +272307,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Filesystem" } } } @@ -114799,11 +272336,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114812,16 +272349,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -114877,7 +272404,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Filesystem" } } } @@ -114892,7 +272419,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -114914,11 +272441,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -114927,16 +272454,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -115006,10 +272523,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Document\/{subitem_id}": { + "\/Dropdowns\/ApplianceEnvironment\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -115017,17 +272534,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } } } @@ -115048,11 +272565,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115061,16 +272578,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -115132,15 +272639,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } } } @@ -115161,11 +272668,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115174,16 +272681,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -115239,7 +272736,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/ApplianceEnvironment" } } } @@ -115254,7 +272751,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -115276,11 +272773,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115289,16 +272786,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -115368,10 +272855,10 @@ ] } }, - "\/Assistance\/Problem\/{id}\/Timeline\/Document\/{subitem_id}": { + "\/Dropdowns\/Network\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -115379,17 +272866,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Network" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Network" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Network" } } } @@ -115410,11 +272897,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115423,16 +272910,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -115494,15 +272971,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Network" } } } @@ -115523,11 +273000,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115536,16 +273013,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -115601,7 +273068,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "$ref": "#\/components\/schemas\/Network" } } } @@ -115616,7 +273083,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -115638,11 +273105,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115651,16 +273118,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -115730,10 +273187,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Solution\/{subitem_id}": { + "\/Dropdowns\/DomainRelation\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -115741,17 +273198,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/DomainRelation" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/DomainRelation" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/DomainRelation" } } } @@ -115772,11 +273229,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115785,16 +273242,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -115856,15 +273303,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/DomainRelation" } } } @@ -115885,11 +273332,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -115898,16 +273345,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -115963,7 +273400,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/DomainRelation" } } } @@ -115978,7 +273415,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -116000,11 +273437,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116013,16 +273450,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -116092,10 +273519,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Solution\/{subitem_id}": { + "\/Dropdowns\/Stencil\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -116103,17 +273530,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/Stencil" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/Stencil" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/Stencil" } } } @@ -116134,11 +273561,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116147,16 +273574,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -116218,15 +273635,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/Stencil" } } } @@ -116247,11 +273664,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116260,16 +273677,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -116325,7 +273732,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/Stencil" } } } @@ -116340,7 +273747,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -116362,11 +273769,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116375,16 +273782,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -116454,10 +273851,10 @@ ] } }, - "\/Assistance\/Problem\/{id}\/Timeline\/Solution\/{subitem_id}": { + "\/Dropdowns\/CameraImageFormat\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -116465,17 +273862,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/CameraImageFormat" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/CameraImageFormat" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/CameraImageFormat" } } } @@ -116496,11 +273893,11 @@ "description": "Internal server error" } }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116509,16 +273906,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -116580,15 +273967,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {subitem_type}", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/CameraImageFormat" } } } @@ -116609,11 +273996,11 @@ "description": "Internal server error" } }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116622,16 +274009,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -116687,7 +274064,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Solution" + "$ref": "#\/components\/schemas\/CameraImageFormat" } } } @@ -116702,7 +274079,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -116724,11 +274101,11 @@ "description": "Internal server error" } }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116737,16 +274114,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -116816,10 +274183,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Task\/{subitem_id}": { + "\/Dropdowns\/CameraImageResolution\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -116827,17 +274194,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TicketTask" + "$ref": "#\/components\/schemas\/CameraImageResolution" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/TicketTask" + "$ref": "#\/components\/schemas\/CameraImageResolution" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/TicketTask" + "$ref": "#\/components\/schemas\/CameraImageResolution" } } } @@ -116858,11 +274225,11 @@ "description": "Internal server error" } }, - "description": "Get an existing task for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116871,16 +274238,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -116942,15 +274299,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {itemtype}Task", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TicketTask" + "$ref": "#\/components\/schemas\/CameraImageResolution" } } } @@ -116971,11 +274328,11 @@ "description": "Internal server error" } }, - "description": "Update an existing task for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -116984,16 +274341,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -117049,7 +274396,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TicketTask" + "$ref": "#\/components\/schemas\/CameraImageResolution" } } } @@ -117064,7 +274411,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -117086,11 +274433,11 @@ "description": "Internal server error" } }, - "description": "Delete a task for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117099,16 +274446,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -117178,10 +274515,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Task\/{subitem_id}": { + "\/Dropdowns\/CalendarCloseTime\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -117189,17 +274526,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } } } @@ -117220,11 +274557,11 @@ "description": "Internal server error" } }, - "description": "Get an existing task for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117233,16 +274570,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -117304,15 +274631,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {itemtype}Task", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } } } @@ -117333,11 +274660,11 @@ "description": "Internal server error" } }, - "description": "Update an existing task for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117346,16 +274673,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -117411,7 +274728,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" + "$ref": "#\/components\/schemas\/CalendarCloseTime" } } } @@ -117426,7 +274743,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -117448,11 +274765,11 @@ "description": "Internal server error" } }, - "description": "Delete a task for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117461,16 +274778,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -117540,10 +274847,10 @@ ] } }, - "\/Assistance\/Problem\/{id}\/Timeline\/Task\/{subitem_id}": { + "\/Dropdowns\/CalendarTimeRange\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -117551,17 +274858,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } } } @@ -117582,11 +274889,11 @@ "description": "Internal server error" } }, - "description": "Get an existing task for a Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117595,16 +274902,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -117666,15 +274963,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {itemtype}Task", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } } } @@ -117695,11 +274992,11 @@ "description": "Internal server error" } }, - "description": "Update an existing task for a Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117708,16 +275005,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -117773,7 +275060,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" + "$ref": "#\/components\/schemas\/CalendarTimeRange" } } } @@ -117788,7 +275075,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -117810,11 +275097,11 @@ "description": "Internal server error" } }, - "description": "Delete a task for a Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117823,16 +275110,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -117902,10 +275179,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Validation\/{subitem_id}": { + "\/Dropdowns\/Plug\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -117913,17 +275190,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" + "$ref": "#\/components\/schemas\/Plug" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" + "$ref": "#\/components\/schemas\/Plug" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" + "$ref": "#\/components\/schemas\/Plug" } } } @@ -117944,11 +275221,11 @@ "description": "Internal server error" } }, - "description": "Get an existing validation for a Ticket or Change", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -117957,16 +275234,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -118028,15 +275295,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {itemtype}Validation", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" + "$ref": "#\/components\/schemas\/Plug" } } } @@ -118057,11 +275324,11 @@ "description": "Internal server error" } }, - "description": "Update an existing validation for a Ticket or Change", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -118070,16 +275337,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -118135,7 +275392,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" + "$ref": "#\/components\/schemas\/Plug" } } } @@ -118150,7 +275407,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -118172,11 +275429,11 @@ "description": "Internal server error" } }, - "description": "Delete a validation for a Ticket or Change", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -118185,16 +275442,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -118264,10 +275511,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/Timeline\/Validation\/{subitem_id}": { + "\/Dropdowns\/Item_Plug\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -118275,17 +275522,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" + "$ref": "#\/components\/schemas\/Item_Plug" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" + "$ref": "#\/components\/schemas\/Item_Plug" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" + "$ref": "#\/components\/schemas\/Item_Plug" } } } @@ -118306,11 +275553,11 @@ "description": "Internal server error" } }, - "description": "Get an existing validation for a Ticket or Change", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -118319,16 +275566,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -118390,15 +275627,15 @@ }, "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { - "description": "The updated {itemtype}Validation", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" + "$ref": "#\/components\/schemas\/Item_Plug" } } } @@ -118419,11 +275656,11 @@ "description": "Internal server error" } }, - "description": "Update an existing validation for a Ticket or Change", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -118432,16 +275669,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -118497,7 +275724,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" + "$ref": "#\/components\/schemas\/Item_Plug" } } } @@ -118512,7 +275739,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -118534,11 +275761,11 @@ "description": "Internal server error" } }, - "description": "Delete a validation for a Ticket or Change", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -118547,16 +275774,6 @@ "pattern": "\\d+" } }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "force", "in": "query", @@ -118626,10 +275843,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/TeamMember": { + "\/Dropdowns\/PhonePowerSupply\/{id}": { "get": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "200": { @@ -118637,26 +275854,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } + "$ref": "#\/components\/schemas\/PhonePowerSupply" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } + "$ref": "#\/components\/schemas\/PhonePowerSupply" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } + "$ref": "#\/components\/schemas\/PhonePowerSupply" } } } @@ -118677,11 +275885,11 @@ "description": "Internal server error" } }, - "description": "Get the team members for a specific Ticket, Change or Problem", + "description": "Get an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -118749,35 +275957,17 @@ } ] }, - "post": { + "patch": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/PhonePowerSupply" } } } @@ -118798,11 +275988,11 @@ "description": "Internal server error" } }, - "description": "Add a team member to a specific Ticket, Change or Problem", + "description": "Update an existing dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -118866,32 +276056,7 @@ "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "format": "string", - "enum": [ - "User", - "Group", - "Supplier" - ] - }, - "id": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } + "$ref": "#\/components\/schemas\/PhonePowerSupply" } } } @@ -118906,7 +276071,7 @@ }, "delete": { "tags": [ - "Assistance" + "Dropdowns" ], "responses": { "204": { @@ -118928,11 +276093,11 @@ "description": "Internal server error" } }, - "description": "Remove a team member from a specific Ticket, Change or Problem", + "description": "Delete a dropdown of a specific type", "parameters": [ { "name": "id", - "description": "", + "description": "The ID of the dropdown item", "in": "path", "required": true, "schema": { @@ -119010,132 +276175,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/TeamMember": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the team members for a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, + "\/GraphQL\/": { "post": { "tags": [ - "Assistance" + "GraphQL" ], "responses": { "201": { @@ -119182,19 +276225,8 @@ "description": "Internal server error" } }, - "description": "Add a team member to a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, + "description": "GraphQL API", + "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -119246,55 +276278,23 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "format": "string", - "enum": [ - "User", - "Group", - "Supplier" - ] - }, - "id": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, "security": [ { "oauth": [ - "api" + "graphql" ] } ] - }, - "delete": { + } + }, + "\/GraphQL\/Schema": { + "get": { "tags": [ - "Assistance" + "GraphQL" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "Success" }, "400": { "description": "Bad request" @@ -119312,28 +276312,8 @@ "description": "Internal server error" } }, - "description": "Remove a team member from a specific Ticket, Change or Problem", + "description": "GraphQL API Schema", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -119388,15 +276368,16 @@ "security": [ { "oauth": [ - "api" + "graphql" ] } ] } }, - "\/Assistance\/Problem\/{id}\/TeamMember": { + "\/Assistance\/Stat": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { @@ -119407,7 +276388,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/StatReport" } } }, @@ -119415,7 +276396,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/StatReport" } } }, @@ -119423,7 +276404,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/StatReport" } } } @@ -119445,19 +276426,8 @@ "description": "Internal server error" } }, - "description": "Get the team members for a specific Ticket, Change or Problem", + "description": "List available assistance statistics", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -119516,36 +276486,31 @@ ] } ] - }, - "post": { + } + }, + "\/Assistance\/Stat\/Ticket\/Global": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/GlobalStats" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/GlobalStats" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/GlobalStats" } } } @@ -119566,18 +276531,29 @@ "description": "Internal server error" } }, - "description": "Add a team member to a specific Ticket, Change or Problem", + "description": "Get global assistance statistics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { "name": "GLPI-Entity", @@ -119630,40 +276606,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "format": "string", - "enum": [ - "User", - "Group", - "Supplier" - ] - }, - "id": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, "security": [ { "oauth": [ @@ -119671,14 +276613,34 @@ ] } ] - }, - "delete": { + } + }, + "\/Assistance\/Stat\/Change\/Global": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/GlobalStats" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/GlobalStats" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/GlobalStats" + } + } + } }, "400": { "description": "Bad request" @@ -119696,27 +276658,29 @@ "description": "Internal server error" } }, - "description": "Remove a team member from a specific Ticket, Change or Problem", + "description": "Get global assistance statistics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { - "name": "force", + "name": "date_end", + "description": "The end date of the statistics", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { "name": "GLPI-Entity", @@ -119778,9 +276742,10 @@ ] } }, - "\/Assistance\/Ticket\/{id}\/TeamMember\/{role}": { + "\/Assistance\/Stat\/Problem\/Global": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { @@ -119789,26 +276754,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } + "$ref": "#\/components\/schemas\/GlobalStats" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } + "$ref": "#\/components\/schemas\/GlobalStats" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } + "$ref": "#\/components\/schemas\/GlobalStats" } } } @@ -119829,28 +276785,29 @@ "description": "Internal server error" } }, - "description": "Get the team members by role for specific Ticket, Change, Problem", + "description": "Get global assistance statistics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { - "name": "role", - "description": "", - "in": "path", - "required": true, + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, "schema": { "type": "string", - "pattern": "\\w+" - } + "format": "date" + }, + "example": "2024-01-30" }, { "name": "GLPI-Entity", @@ -119903,26 +276860,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, "security": [ { "oauth": [ @@ -119932,9 +276869,10 @@ ] } }, - "\/Assistance\/Change\/{id}\/TeamMember\/{role}": { + "\/Assistance\/Stat\/Ticket\/Characteristics": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { @@ -119945,7 +276883,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/ITILStats" } } }, @@ -119953,7 +276891,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/ITILStats" } } }, @@ -119961,7 +276899,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/ITILStats" } } } @@ -119983,28 +276921,40 @@ "description": "Internal server error" } }, - "description": "Get the team members by role for specific Ticket, Change, Problem", + "description": "Get assistance statistics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { - "name": "role", - "description": "", - "in": "path", + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", "required": true, "schema": { "type": "string", - "pattern": "\\w+" - } + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -120057,26 +277007,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, "security": [ { "oauth": [ @@ -120086,9 +277016,10 @@ ] } }, - "\/Assistance\/Problem\/{id}\/TeamMember\/{role}": { + "\/Assistance\/Stat\/Change\/Characteristics": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { @@ -120099,7 +277030,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/ITILStats" } } }, @@ -120107,7 +277038,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/ITILStats" } } }, @@ -120115,7 +277046,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TeamMember" + "$ref": "#\/components\/schemas\/ITILStats" } } } @@ -120137,28 +277068,40 @@ "description": "Internal server error" } }, - "description": "Get the team members by role for specific Ticket, Change, Problem", + "description": "Get assistance statistics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { - "name": "role", - "description": "", - "in": "path", + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", "required": true, "schema": { "type": "string", - "pattern": "\\w+" - } + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -120211,26 +277154,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, "security": [ { "oauth": [ @@ -120240,9 +277163,10 @@ ] } }, - "\/Assistance\/RecurringTicket": { + "\/Assistance\/Stat\/Problem\/Characteristics": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { @@ -120253,7 +277177,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RecurringTicket" + "$ref": "#\/components\/schemas\/ITILStats" } } }, @@ -120261,7 +277185,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RecurringTicket" + "$ref": "#\/components\/schemas\/ITILStats" } } }, @@ -120269,7 +277193,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RecurringTicket" + "$ref": "#\/components\/schemas\/ITILStats" } } } @@ -120291,48 +277215,35 @@ "description": "Internal server error" } }, - "description": "List or search for RecurringTickets", + "description": "Get assistance statistics", "parameters": [ { - "name": "filter", - "description": "RSQL query string", + "name": "date_start", + "description": "The start date of the statistics", "in": "query", "required": false, "schema": { "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 + "format": "date" }, - "example": null + "example": "2024-01-30" }, { - "name": "limit", - "description": "The maximum number of items to return", + "name": "date_end", + "description": "The end date of the statistics", "in": "query", "required": false, "schema": { - "type": "integer", - "format": "int64", - "default": 100 + "type": "string", + "format": "date" }, - "example": null + "example": "2024-01-30" }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "field", + "description": "The field to group the statistics by", "in": "query", - "required": false, + "required": true, "schema": { "type": "string", "format": "string" @@ -120397,39 +277308,17 @@ ] } ] - }, - "post": { + } + }, + "\/Assistance\/Stat\/Ticket\/Characteristics\/Export": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "200": { + "description": "Success" }, "400": { "description": "Bad request" @@ -120447,8 +277336,58 @@ "description": "Internal server error" } }, - "description": "Create a new RecurringTicket", + "description": "Export assistance statistics", "parameters": [ + { + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -120500,15 +277439,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } - }, "security": [ { "oauth": [ @@ -120518,31 +277448,15 @@ ] } }, - "\/Assistance\/RecurringTicket\/{id}": { + "\/Assistance\/Stat\/Change\/Characteristics\/Export": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } + "description": "Success" }, "400": { "description": "Bad request" @@ -120560,18 +277474,57 @@ "description": "Internal server error" } }, - "description": "Get an existing RecurringTicket", + "description": "Export assistance statistics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", "required": true, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null }, { "name": "GLPI-Entity", @@ -120631,21 +277584,17 @@ ] } ] - }, - "patch": { + } + }, + "\/Assistance\/Stat\/Problem\/Characteristics\/Export": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { "200": { - "description": "The updated RecurringTicket", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } + "description": "Success" }, "400": { "description": "Bad request" @@ -120663,18 +277612,57 @@ "description": "Internal server error" } }, - "description": "Update an existing RecurringTicket", + "description": "Export assistance statistics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", "required": true, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null }, { "name": "GLPI-Entity", @@ -120727,15 +277715,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } - }, "security": [ { "oauth": [ @@ -120743,14 +277722,43 @@ ] } ] - }, - "delete": { + } + }, + "\/Assistance\/Stat\/Ticket\/Asset": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetStats" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetStats" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetStats" + } + } + } + } }, "400": { "description": "Bad request" @@ -120768,27 +277776,29 @@ "description": "Internal server error" } }, - "description": "Delete a RecurringTicket", + "description": "Get assistance statistics by asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { - "name": "force", + "name": "date_end", + "description": "The end date of the statistics", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { "name": "GLPI-Entity", @@ -120850,9 +277860,10 @@ ] } }, - "\/Assistance\/RecurringChange": { + "\/Assistance\/Stat\/Change\/Asset": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { @@ -120863,7 +277874,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RecurringChange" + "$ref": "#\/components\/schemas\/AssetStats" } } }, @@ -120871,7 +277882,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RecurringChange" + "$ref": "#\/components\/schemas\/AssetStats" } } }, @@ -120879,7 +277890,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RecurringChange" + "$ref": "#\/components\/schemas\/AssetStats" } } } @@ -120901,53 +277912,29 @@ "description": "Internal server error" } }, - "description": "List or search for RecurringChanges", + "description": "Get assistance statistics by asset", "parameters": [ { - "name": "filter", - "description": "RSQL query string", + "name": "date_start", + "description": "The start date of the statistics", "in": "query", "required": false, "schema": { "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 + "format": "date" }, - "example": null + "example": "2024-01-30" }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "date_end", + "description": "The end date of the statistics", "in": "query", "required": false, "schema": { "type": "string", - "format": "string" + "format": "date" }, - "example": null + "example": "2024-01-30" }, { "name": "GLPI-Entity", @@ -121007,35 +277994,39 @@ ] } ] - }, - "post": { + } + }, + "\/Assistance\/Stat\/Problem\/Asset": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetStats" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetStats" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetStats" } } } @@ -121057,8 +278048,157 @@ "description": "Internal server error" } }, - "description": "Create a new RecurringChange", + "description": "Get assistance statistics by asset", + "parameters": [ + { + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Assistance\/Stat\/Ticket\/Asset\/Export": { + "get": { + "tags": [ + "Statistics", + "Assistance" + ], + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Export assistance statistics by asset", "parameters": [ + { + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -121110,15 +278250,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } - }, "security": [ { "oauth": [ @@ -121128,31 +278259,15 @@ ] } }, - "\/Assistance\/RecurringChange\/{id}": { + "\/Assistance\/Stat\/Change\/Asset\/Export": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } + "description": "Success" }, "400": { "description": "Bad request" @@ -121170,18 +278285,46 @@ "description": "Internal server error" } }, - "description": "Get an existing RecurringChange", + "description": "Export assistance statistics by asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null }, { "name": "GLPI-Entity", @@ -121241,21 +278384,17 @@ ] } ] - }, - "patch": { + } + }, + "\/Assistance\/Stat\/Problem\/Asset\/Export": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { "200": { - "description": "The updated RecurringChange", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } + "description": "Success" }, "400": { "description": "Bad request" @@ -121273,18 +278412,46 @@ "description": "Internal server error" } }, - "description": "Update an existing RecurringChange", + "description": "Export assistance statistics by asset", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null }, { "name": "GLPI-Entity", @@ -121337,15 +278504,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } - }, "security": [ { "oauth": [ @@ -121353,14 +278511,43 @@ ] } ] - }, - "delete": { + } + }, + "\/Assistance\/Stat\/Ticket\/AssetCharacteristics": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + } + } + } + } }, "400": { "description": "Bad request" @@ -121378,27 +278565,40 @@ "description": "Internal server error" } }, - "description": "Delete a RecurringChange", + "description": "Get assistance statistics by asset characteristics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { - "name": "force", + "name": "date_end", + "description": "The end date of the statistics", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The characteristic field to group the statistics by", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -121460,9 +278660,10 @@ ] } }, - "\/Assistance\/ExternalEvent": { + "\/Assistance\/Stat\/Change\/AssetCharacteristics": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { @@ -121473,7 +278674,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ExternalEvent" + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" } } }, @@ -121481,7 +278682,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ExternalEvent" + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" } } }, @@ -121489,7 +278690,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ExternalEvent" + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" } } } @@ -121511,48 +278712,35 @@ "description": "Internal server error" } }, - "description": "List or search for ExternalEvents", + "description": "Get assistance statistics by asset characteristics", "parameters": [ { - "name": "filter", - "description": "RSQL query string", + "name": "date_start", + "description": "The start date of the statistics", "in": "query", "required": false, "schema": { "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 + "format": "date" }, - "example": null + "example": "2024-01-30" }, { - "name": "limit", - "description": "The maximum number of items to return", + "name": "date_end", + "description": "The end date of the statistics", "in": "query", "required": false, "schema": { - "type": "integer", - "format": "int64", - "default": 100 + "type": "string", + "format": "date" }, - "example": null + "example": "2024-01-30" }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "field", + "description": "The characteristic field to group the statistics by", "in": "query", - "required": false, + "required": true, "schema": { "type": "string", "format": "string" @@ -121617,35 +278805,39 @@ ] } ] - }, - "post": { + } + }, + "\/Assistance\/Stat\/Problem\/AssetCharacteristics": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" } } } @@ -121667,8 +278859,41 @@ "description": "Internal server error" } }, - "description": "Create a new ExternalEvent", + "description": "Get assistance statistics by asset characteristics", "parameters": [ + { + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The characteristic field to group the statistics by", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -121720,15 +278945,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } - }, "security": [ { "oauth": [ @@ -121738,31 +278954,15 @@ ] } }, - "\/Assistance\/ExternalEvent\/{id}": { + "\/Assistance\/Stat\/Ticket\/AssetCharacteristics\/Export": { "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } + "description": "Success" }, "400": { "description": "Bad request" @@ -121780,18 +278980,57 @@ "description": "Internal server error" } }, - "description": "Get an existing ExternalEvent", + "description": "Export assistance statistics by asset characteristics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", "required": true, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null }, { "name": "GLPI-Entity", @@ -121851,21 +279090,17 @@ ] } ] - }, - "patch": { + } + }, + "\/Assistance\/Stat\/Change\/AssetCharacteristics\/Export": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { "200": { - "description": "The updated ExternalEvent", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } + "description": "Success" }, "400": { "description": "Bad request" @@ -121883,18 +279118,57 @@ "description": "Internal server error" } }, - "description": "Update an existing ExternalEvent", + "description": "Export assistance statistics by asset characteristics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "date_end", + "description": "The end date of the statistics", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", "required": true, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null }, { "name": "GLPI-Entity", @@ -121947,15 +279221,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } - }, "security": [ { "oauth": [ @@ -121963,14 +279228,17 @@ ] } ] - }, - "delete": { + } + }, + "\/Assistance\/Stat\/Problem\/AssetCharacteristics\/Export": { + "get": { "tags": [ + "Statistics", "Assistance" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "Success" }, "400": { "description": "Bad request" @@ -121988,27 +279256,57 @@ "description": "Internal server error" } }, - "description": "Delete a ExternalEvent", + "description": "Export assistance statistics by asset characteristics", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "date_start", + "description": "The start date of the statistics", + "in": "query", + "required": false, "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" }, { - "name": "force", + "name": "date_end", + "description": "The end date of the statistics", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "date" + }, + "example": "2024-01-30" + }, + { + "name": "field", + "description": "The field to group the statistics by", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "Accept", + "description": "The format to export the statistics to", + "in": "header", + "required": false, + "schema": { + "type": "string", + "format": "string", + "enum": [ + "text\/csv", + "application\/vnd.oasis.opendocument.spreadsheet", + "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application\/pdf" + ] + }, + "example": null }, { "name": "GLPI-Entity", @@ -122070,20 +279368,30 @@ ] } }, - "\/Administration\/User": { + "\/Rule\/Collection": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "", + "description": "List of rule collections", "content": { "application\/json": { "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/User" + "type": "object", + "properties": { + "name": { + "type": "string", + "format": "string" + }, + "rule_type": { + "type": "string", + "format": "string" + } + } } } }, @@ -122091,7 +279399,17 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/User" + "type": "object", + "properties": { + "name": { + "type": "string", + "format": "string" + }, + "rule_type": { + "type": "string", + "format": "string" + } + } } } }, @@ -122099,7 +279417,17 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/User" + "type": "object", + "properties": { + "name": { + "type": "string", + "format": "string" + }, + "rule_type": { + "type": "string", + "format": "string" + } + } } } } @@ -122121,54 +279449,8 @@ "description": "Internal server error" } }, - "description": "List or search for Users", + "description": "List all rule collections", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -122227,35 +279509,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/DefineItemtype\/CriteriaCondition": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -122277,7 +279562,7 @@ "description": "Internal server error" } }, - "description": "Create a new User", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -122330,15 +279615,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, "security": [ { "oauth": [ @@ -122348,10 +279624,10 @@ ] } }, - "\/Administration\/Group": { + "\/Rule\/Collection\/ImportAsset\/CriteriaCondition": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -122361,7 +279637,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Group" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -122369,7 +279645,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Group" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -122377,7 +279653,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Group" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -122399,54 +279675,8 @@ "description": "Internal server error" } }, - "description": "List or search for Groups", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -122505,35 +279735,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/ImportEntity\/CriteriaCondition": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -122555,7 +279788,7 @@ "description": "Internal server error" } }, - "description": "Create a new Group", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -122608,15 +279841,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - } - } - }, "security": [ { "oauth": [ @@ -122626,10 +279850,10 @@ ] } }, - "\/Administration\/Entity": { + "\/Rule\/Collection\/Location\/CriteriaCondition": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -122639,7 +279863,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Entity" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -122647,7 +279871,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Entity" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -122655,7 +279879,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Entity" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -122677,54 +279901,8 @@ "description": "Internal server error" } }, - "description": "List or search for Entities", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -122783,35 +279961,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/MailCollector\/CriteriaCondition": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -122833,7 +280014,7 @@ "description": "Internal server error" } }, - "description": "Create a new Entity", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -122886,15 +280067,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - } - } - }, "security": [ { "oauth": [ @@ -122904,10 +280076,10 @@ ] } }, - "\/Administration\/Profile": { + "\/Rule\/Collection\/Right\/CriteriaCondition": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -122917,7 +280089,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Profile" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -122925,7 +280097,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Profile" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -122933,7 +280105,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Profile" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -122955,54 +280127,121 @@ "description": "Internal server error" } }, - "description": "List or search for Profiles", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "type": "integer" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "string", + "enum": [ + "true", + "false" + ] + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", "schema": { - "type": "string", - "format": "string" + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Rule\/Collection\/SoftwareCategory\/CriteriaCondition": { + "get": { + "tags": [ + "Rule" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + } + } }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List accepted \"condition\" values for criteria for rules in a collection", + "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -123061,35 +280300,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Ticket\/CriteriaCondition": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -123111,7 +280353,7 @@ "description": "Internal server error" } }, - "description": "Create a new Profile", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -123164,15 +280406,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - } - } - }, "security": [ { "oauth": [ @@ -123182,10 +280415,10 @@ ] } }, - "\/Administration\/User\/Me": { + "\/Rule\/Collection\/Change\/CriteriaCondition": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -123193,17 +280426,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } } } } @@ -123224,7 +280466,7 @@ "description": "Internal server error" } }, - "description": "Get the current user", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -123280,16 +280522,16 @@ "security": [ { "oauth": [ - "user" + "api" ] } ] } }, - "\/Administration\/User\/Me\/Email": { + "\/Rule\/Collection\/Problem\/CriteriaCondition": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -123299,7 +280541,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EmailAddress" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -123307,7 +280549,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EmailAddress" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } }, @@ -123315,7 +280557,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EmailAddress" + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -123337,7 +280579,7 @@ "description": "Internal server error" } }, - "description": "Get the current user's email addresses", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -123393,39 +280635,42 @@ "security": [ { "oauth": [ - "user" + "api" ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Asset\/CriteriaCondition": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } + } + }, + "text\/csv": { "schema": { - "type": "string" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" + } } - } - }, - "content": { - "application\/json": { + }, + "application\/xml": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCondition" } } } @@ -123447,7 +280692,7 @@ "description": "Internal server error" } }, - "description": "Create a new email address for the current user", + "description": "List accepted \"condition\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -123500,39 +280745,19 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "string" - }, - "is_default": { - "type": "boolean", - "format": "boolean", - "default": false - } - } - } - } - } - }, "security": [ { "oauth": [ - "user" + "api" ] } ] } }, - "\/Administration\/User\/Me\/Email\/{id}": { + "\/Rule\/Collection\/DefineItemtype\/CriteriaCriteria": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -123540,17 +280765,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } } } @@ -123571,18 +280805,8 @@ "description": "Internal server error" } }, - "description": "Get a specific email address for the current user", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -123637,16 +280861,16 @@ "security": [ { "oauth": [ - "user" + "api" ] } ] } }, - "\/Administration\/User\/Me\/Emails\/Default": { + "\/Rule\/Collection\/ImportAsset\/CriteriaCriteria": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -123654,17 +280878,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } } } @@ -123685,7 +280918,7 @@ "description": "Internal server error" } }, - "description": "Get the default email address for the current user", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -123741,21 +280974,46 @@ "security": [ { "oauth": [ - "user", - "email" + "api" ] } ] } }, - "\/Administration\/User\/Me\/Picture": { + "\/Rule\/Collection\/ImportEntity\/CriteriaCriteria": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + } + } }, "400": { "description": "Bad request" @@ -123773,7 +281031,7 @@ "description": "Internal server error" } }, - "description": "Get the picture for the current user", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -123829,16 +281087,16 @@ "security": [ { "oauth": [ - "user" + "api" ] } ] } }, - "\/Administration\/User\/{id}": { + "\/Rule\/Collection\/Location\/CriteriaCriteria": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -123846,17 +281104,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } } } @@ -123877,18 +281144,8 @@ "description": "Internal server error" } }, - "description": "Get an existing User", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -123947,18 +281204,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/MailCollector\/CriteriaCriteria": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated User", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } } } @@ -123979,18 +281257,8 @@ "description": "Internal server error" } }, - "description": "Update an existing User", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124042,15 +281310,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, "security": [ { "oauth": [ @@ -124058,14 +281317,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/Right\/CriteriaCriteria": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + } + } }, "400": { "description": "Bad request" @@ -124083,27 +281370,8 @@ "description": "Internal server error" } }, - "description": "Delete a User", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124164,10 +281432,10 @@ ] } }, - "\/Administration\/User\/username\/{username}": { + "\/Rule\/Collection\/SoftwareCategory\/CriteriaCriteria": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -124175,17 +281443,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } } } @@ -124206,18 +281483,8 @@ "description": "Internal server error" } }, - "description": "Get an existing User", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124276,18 +281543,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Ticket\/CriteriaCriteria": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated User", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/User" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } } } } @@ -124308,18 +281596,8 @@ "description": "Internal server error" } }, - "description": "Update an existing User", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124371,15 +281649,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, "security": [ { "oauth": [ @@ -124387,14 +281656,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/Change\/CriteriaCriteria": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + } + } }, "400": { "description": "Bad request" @@ -124412,27 +281709,8 @@ "description": "Internal server error" } }, - "description": "Delete a User", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124493,14 +281771,40 @@ ] } }, - "\/Administration\/User\/{id}\/Picture": { + "\/Rule\/Collection\/Problem\/CriteriaCriteria": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + } + } }, "400": { "description": "Bad request" @@ -124518,18 +281822,8 @@ "description": "Internal server error" } }, - "description": "Get the picture for the current user", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124590,14 +281884,40 @@ ] } }, - "\/Administration\/User\/username\/{username}\/Picture": { + "\/Rule\/Collection\/Asset\/CriteriaCriteria": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + } + } + } + } }, "400": { "description": "Bad request" @@ -124615,18 +281935,8 @@ "description": "Internal server error" } }, - "description": "Get the picture for the current user", + "description": "List accepted \"criteria\" values for criteria for rules in a collection", "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124687,14 +281997,40 @@ ] } }, - "\/Administration\/User\/Me\/UsedItem": { + "\/Rule\/Collection\/DefineItemtype\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + } + } }, "400": { "description": "Bad request" @@ -124712,54 +282048,8 @@ "description": "Internal server error" } }, - "description": "Get the used items for the current user", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -124814,20 +282104,46 @@ "security": [ { "oauth": [ - "user" + "api" ] } ] } }, - "\/Administration\/User\/{id}\/UsedItem": { + "\/Rule\/Collection\/ImportAsset\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + } + } }, "400": { "description": "Bad request" @@ -124845,64 +282161,8 @@ "description": "Internal server error" } }, - "description": "Get the used items for a user", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -124963,14 +282223,40 @@ ] } }, - "\/Administration\/User\/username\/{username}\/UsedItem": { + "\/Rule\/Collection\/ImportEntity\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + } + } }, "400": { "description": "Bad request" @@ -124988,64 +282274,8 @@ "description": "Internal server error" } }, - "description": "Get the used items for a user by username", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -125106,14 +282336,40 @@ ] } }, - "\/Administration\/User\/Me\/ManagedItem": { + "\/Rule\/Collection\/Location\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + } + } }, "400": { "description": "Bad request" @@ -125131,54 +282387,8 @@ "description": "Internal server error" } }, - "description": "Get the managed items for the current user", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -125233,20 +282443,46 @@ "security": [ { "oauth": [ - "user" + "api" ] } ] } }, - "\/Administration\/User\/{id}\/ManagedItem": { + "\/Rule\/Collection\/MailCollector\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + } + } }, "400": { "description": "Bad request" @@ -125264,64 +282500,8 @@ "description": "Internal server error" } }, - "description": "Get the managed items for a user", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -125382,14 +282562,40 @@ ] } }, - "\/Administration\/User\/username\/{username}\/ManagedItem": { + "\/Rule\/Collection\/Right\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + } + } }, "400": { "description": "Bad request" @@ -125407,64 +282613,8 @@ "description": "Internal server error" } }, - "description": "Get the managed items for a user by username", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -125525,10 +282675,10 @@ ] } }, - "\/Administration\/Group\/{id}": { + "\/Rule\/Collection\/SoftwareCategory\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -125536,17 +282686,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Group" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Group" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Group" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } } } @@ -125567,18 +282726,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Group", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -125637,18 +282786,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Ticket\/ActionType": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated Group", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Group" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } } } @@ -125669,18 +282839,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Group", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -125732,15 +282892,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - } - } - }, "security": [ { "oauth": [ @@ -125748,14 +282899,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/Change\/ActionType": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + } + } }, "400": { "description": "Bad request" @@ -125773,27 +282952,8 @@ "description": "Internal server error" } }, - "description": "Delete a Group", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -125854,10 +283014,10 @@ ] } }, - "\/Administration\/Entity\/{id}": { + "\/Rule\/Collection\/Problem\/ActionType": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -125865,17 +283025,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Entity" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Entity" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Entity" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } } } @@ -125896,18 +283065,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Entity", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -125966,18 +283125,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Asset\/ActionType": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated Entity", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Entity" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionType" + } } } } @@ -125998,18 +283178,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Entity", + "description": "List accepted \"action_type\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -126061,15 +283231,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - } - } - }, "security": [ { "oauth": [ @@ -126077,14 +283238,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/DefineItemtype\/ActionField": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + } + } }, "400": { "description": "Bad request" @@ -126102,27 +283291,8 @@ "description": "Internal server error" } }, - "description": "Delete a Entity", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -126183,10 +283353,10 @@ ] } }, - "\/Administration\/Profile\/{id}": { + "\/Rule\/Collection\/ImportAsset\/ActionField": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -126194,17 +283364,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Profile" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Profile" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Profile" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -126225,18 +283404,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Profile", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -126295,18 +283464,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/ImportEntity\/ActionField": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated Profile", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Profile" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -126327,18 +283517,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Profile", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -126390,15 +283570,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - } - } - }, "security": [ { "oauth": [ @@ -126406,14 +283577,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/Location\/ActionField": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + } + } }, "400": { "description": "Bad request" @@ -126431,27 +283630,8 @@ "description": "Internal server error" } }, - "description": "Delete a Profile", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -126512,10 +283692,10 @@ ] } }, - "\/Administration\/User\/{id}\/Preference": { + "\/Rule\/Collection\/MailCollector\/ActionField": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -126523,17 +283703,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -126554,18 +283743,8 @@ "description": "Internal server error" } }, - "description": "Get an existing UserPreferences", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -126624,18 +283803,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Right\/ActionField": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated UserPreferences", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -126656,18 +283856,8 @@ "description": "Internal server error" } }, - "description": "Update an existing UserPreferences", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -126719,15 +283909,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, "security": [ { "oauth": [ @@ -126737,10 +283918,10 @@ ] } }, - "\/Administration\/User\/Me\/Preference": { + "\/Rule\/Collection\/SoftwareCategory\/ActionField": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -126748,17 +283929,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -126779,7 +283969,7 @@ "description": "Internal server error" } }, - "description": "Get an existing UserPreferences", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -126839,18 +284029,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Ticket\/ActionField": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated UserPreferences", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -126871,7 +284082,7 @@ "description": "Internal server error" } }, - "description": "Update an existing UserPreferences", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -126924,15 +284135,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, "security": [ { "oauth": [ @@ -126942,10 +284144,10 @@ ] } }, - "\/Administration\/User\/{username}\/Preference": { + "\/Rule\/Collection\/Change\/ActionField": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -126953,119 +284155,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing UserPreferences", - "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated UserPreferences", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -127086,18 +284195,8 @@ "description": "Internal server error" } }, - "description": "Update an existing UserPreferences", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -127149,15 +284248,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, "security": [ { "oauth": [ @@ -127167,10 +284257,10 @@ ] } }, - "\/Administration\/EventLog": { + "\/Rule\/Collection\/Problem\/ActionField": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -127180,7 +284270,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EventLog" + "$ref": "#\/components\/schemas\/RuleActionField" } } }, @@ -127188,7 +284278,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EventLog" + "$ref": "#\/components\/schemas\/RuleActionField" } } }, @@ -127196,7 +284286,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EventLog" + "$ref": "#\/components\/schemas\/RuleActionField" } } } @@ -127218,54 +284308,8 @@ "description": "Internal server error" } }, - "description": "List or search for EventLogs", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -127326,10 +284370,10 @@ ] } }, - "\/Administration\/EventLog\/{id}": { + "\/Rule\/Collection\/Asset\/ActionField": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -127337,17 +284381,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/EventLog" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/EventLog" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/EventLog" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleActionField" + } } } } @@ -127368,7 +284421,7 @@ "description": "Internal server error" } }, - "description": "Get an existing EventLog", + "description": "List accepted \"field\" values for actions for rules in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -127430,10 +284483,10 @@ ] } }, - "\/Administration\/UserCategory": { + "\/Rule\/Collection\/DefineItemtype\/Rule": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -127443,7 +284496,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/UserCategory" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -127451,7 +284504,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/UserCategory" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -127459,7 +284512,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/UserCategory" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -127481,7 +284534,7 @@ "description": "Internal server error" } }, - "description": "List or search for UserCategorys", + "description": "List or search rules in a collection", "parameters": [ { "name": "filter", @@ -127590,7 +284643,7 @@ }, "post": { "tags": [ - "Administration" + "Rule" ], "responses": { "201": { @@ -127637,7 +284690,7 @@ "description": "Internal server error" } }, - "description": "Create a new UserCategory", + "description": "Create a rule in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -127694,7 +284747,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserCategory" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -127708,10 +284761,10 @@ ] } }, - "\/Administration\/UserTitle": { + "\/Rule\/Collection\/ImportAsset\/Rule": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -127721,7 +284774,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/UserTitle" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -127729,7 +284782,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/UserTitle" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -127737,7 +284790,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/UserTitle" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -127759,7 +284812,7 @@ "description": "Internal server error" } }, - "description": "List or search for UserTitles", + "description": "List or search rules in a collection", "parameters": [ { "name": "filter", @@ -127868,7 +284921,7 @@ }, "post": { "tags": [ - "Administration" + "Rule" ], "responses": { "201": { @@ -127915,7 +284968,7 @@ "description": "Internal server error" } }, - "description": "Create a new UserTitle", + "description": "Create a rule in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -127972,7 +285025,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserTitle" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -127986,10 +285039,10 @@ ] } }, - "\/Administration\/ApprovalSubstitute": { + "\/Rule\/Collection\/ImportEntity\/Rule": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -127999,7 +285052,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -128007,7 +285060,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -128015,7 +285068,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -128037,7 +285090,7 @@ "description": "Internal server error" } }, - "description": "List or search for ApprovalSubstitutes", + "description": "List or search rules in a collection", "parameters": [ { "name": "filter", @@ -128146,7 +285199,7 @@ }, "post": { "tags": [ - "Administration" + "Rule" ], "responses": { "201": { @@ -128193,7 +285246,7 @@ "description": "Internal server error" } }, - "description": "Create a new ApprovalSubstitute", + "description": "Create a rule in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -128250,7 +285303,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -128264,10 +285317,10 @@ ] } }, - "\/Administration\/UserCategory\/{id}": { + "\/Rule\/Collection\/Location\/Rule": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -128275,17 +285328,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/UserCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/UserCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } } } } @@ -128306,17 +285368,53 @@ "description": "Internal server error" } }, - "description": "Get an existing UserCategory", + "description": "List or search rules in a collection", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -128377,17 +285475,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Administration" + "Rule" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserCategory" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -128408,18 +285524,8 @@ "description": "Internal server error" } }, - "description": "Update an existing UserCategory", + "description": "Create a rule in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -128475,7 +285581,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserCategory" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -128487,14 +285593,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/MailCollector\/Rule": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + } }, "400": { "description": "Bad request" @@ -128512,26 +285646,53 @@ "description": "Internal server error" } }, - "description": "Delete a UserCategory", + "description": "List or search rules in a collection", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -128591,30 +285752,36 @@ ] } ] - } - }, - "\/Administration\/UserTitle\/{id}": { - "get": { + }, + "post": { "tags": [ - "Administration" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/UserTitle" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserTitle" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -128635,18 +285802,8 @@ "description": "Internal server error" } }, - "description": "Get an existing UserTitle", + "description": "Create a rule in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -128698,6 +285855,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + }, "security": [ { "oauth": [ @@ -128705,18 +285871,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Right\/Rule": { + "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/UserTitle" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } } } } @@ -128737,17 +285924,53 @@ "description": "Internal server error" } }, - "description": "Update an existing UserTitle", + "description": "List or search rules in a collection", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -128800,15 +286023,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - } - }, "security": [ { "oauth": [ @@ -128817,13 +286031,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -128841,27 +286080,8 @@ "description": "Internal server error" } }, - "description": "Delete a UserTitle", + "description": "Create a rule in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -128913,6 +286133,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + }, "security": [ { "oauth": [ @@ -128922,10 +286151,10 @@ ] } }, - "\/Administration\/ApprovalSubstitute\/{id}": { + "\/Rule\/Collection\/SoftwareCategory\/Rule": { "get": { "tags": [ - "Administration" + "Rule" ], "responses": { "200": { @@ -128933,17 +286162,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Rule" + } } } } @@ -128964,17 +286202,53 @@ "description": "Internal server error" } }, - "description": "Get an existing ApprovalSubstitute", + "description": "List or search rules in a collection", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -129035,13 +286309,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Administration" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -129059,27 +286358,8 @@ "description": "Internal server error" } }, - "description": "Delete a ApprovalSubstitute", + "description": "Create a rule in a collection", "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -129131,6 +286411,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + }, "security": [ { "oauth": [ @@ -129140,10 +286429,10 @@ ] } }, - "\/Management\/": { + "\/Rule\/Collection\/Ticket\/Rule": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -129153,21 +286442,7 @@ "schema": { "type": "array", "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -129175,21 +286450,7 @@ "schema": { "type": "array", "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -129197,21 +286458,7 @@ "schema": { "type": "array", "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -129233,8 +286480,54 @@ "description": "Internal server error" } }, - "description": "Get all available management types", + "description": "List or search rules in a collection", "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -129293,20 +286586,36 @@ ] } ] - } - }, - "\/Management\/Document\/{id}\/Download": { - "get": { + }, + "post": { "tags": [ - "Management" + "Rule" ], "responses": { - "200": { - "description": "", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { - "application\/octet-stream": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -129327,40 +286636,8 @@ "description": "Internal server error" } }, - "description": "Download a document", + "description": "Create a rule in a collection", "parameters": [ - { - "name": "HTTP_IF_NONE_MATCH", - "description": "", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "HTTP_IF_MODIFIED_SINCE", - "description": "", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -129412,6 +286689,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + }, "security": [ { "oauth": [ @@ -129421,10 +286707,10 @@ ] } }, - "\/Management\/Budget": { + "\/Rule\/Collection\/Change\/Rule": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -129434,7 +286720,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -129442,7 +286728,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -129450,7 +286736,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -129472,7 +286758,7 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "List or search rules in a collection", "parameters": [ { "name": "filter", @@ -129581,7 +286867,7 @@ }, "post": { "tags": [ - "Management" + "Rule" ], "responses": { "201": { @@ -129628,7 +286914,7 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Create a rule in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -129685,7 +286971,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -129699,10 +286985,10 @@ ] } }, - "\/Management\/Cluster": { + "\/Rule\/Collection\/Problem\/Rule": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -129712,7 +286998,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -129720,7 +287006,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -129728,7 +287014,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -129750,7 +287036,7 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "List or search rules in a collection", "parameters": [ { "name": "filter", @@ -129859,7 +287145,7 @@ }, "post": { "tags": [ - "Management" + "Rule" ], "responses": { "201": { @@ -129906,7 +287192,7 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Create a rule in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -129963,7 +287249,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -129977,10 +287263,10 @@ ] } }, - "\/Management\/Contact": { + "\/Rule\/Collection\/Asset\/Rule": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -129990,7 +287276,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -129998,7 +287284,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } } }, @@ -130006,7 +287292,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -130028,7 +287314,7 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "List or search rules in a collection", "parameters": [ { "name": "filter", @@ -130137,7 +287423,7 @@ }, "post": { "tags": [ - "Management" + "Rule" ], "responses": { "201": { @@ -130184,7 +287470,7 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Create a rule in a collection", "parameters": [ { "name": "GLPI-Entity", @@ -130241,7 +287527,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -130255,10 +287541,10 @@ ] } }, - "\/Management\/Contract": { + "\/Rule\/Collection\/DefineItemtype\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -130266,26 +287552,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract" - } + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract" - } + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract" - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -130306,164 +287583,18 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Get a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } + "pattern": "\\d+" } }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -130515,15 +287646,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract" - } - } - } - }, "security": [ { "oauth": [ @@ -130531,39 +287653,28 @@ ] } ] - } - }, - "\/Management\/Database": { - "get": { + }, + "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Database" - } + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Database" - } + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Database" - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -130584,53 +287695,17 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Update a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -130682,7 +287757,16 @@ } } } - ], + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + }, "security": [ { "oauth": [ @@ -130691,38 +287775,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -130740,8 +287799,27 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Delete a rule in a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -130793,15 +287871,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Database" - } - } - } - }, "security": [ { "oauth": [ @@ -130811,10 +287880,10 @@ ] } }, - "\/Management\/DataCenter": { + "\/Rule\/Collection\/ImportAsset\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -130822,26 +287891,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DataCenter" - } + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DataCenter" - } + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DataCenter" - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -130862,53 +287922,17 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Get a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -130969,35 +287993,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -131018,8 +288034,18 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Update a rule in a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -131075,7 +288101,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DataCenter" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -131087,42 +288113,14 @@ ] } ] - } - }, - "\/Management\/Document": { - "get": { + }, + "delete": { "tags": [ - "Management" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -131140,53 +288138,26 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Delete a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -131246,36 +288217,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/ImportEntity\/Rule\/{id}": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -131296,8 +288261,18 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Get a rule from a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -131349,15 +288324,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, "security": [ { "oauth": [ @@ -131365,39 +288331,28 @@ ] } ] - } - }, - "\/Management\/Domain": { - "get": { + }, + "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain" - } + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain" - } + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain" - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -131418,53 +288373,17 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Update a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -131517,6 +288436,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + }, "security": [ { "oauth": [ @@ -131525,38 +288453,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -131574,8 +288477,27 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Delete a rule in a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -131627,15 +288549,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - } - } - }, "security": [ { "oauth": [ @@ -131645,10 +288558,10 @@ ] } }, - "\/Management\/License": { + "\/Rule\/Collection\/Location\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -131656,26 +288569,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/License" - } + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/License" - } + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/License" - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -131696,53 +288600,17 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Get a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -131803,35 +288671,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -131852,8 +288712,18 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Update a rule in a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -131909,7 +288779,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/License" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -131921,42 +288791,14 @@ ] } ] - } - }, - "\/Management\/Line": { - "get": { + }, + "delete": { "tags": [ - "Management" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Line" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Line" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Line" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -131974,53 +288816,26 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Delete a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -132080,36 +288895,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/MailCollector\/Rule\/{id}": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132130,8 +288939,18 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Get a rule from a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -132183,15 +289002,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Line" - } - } - } - }, "security": [ { "oauth": [ @@ -132199,39 +289009,28 @@ ] } ] - } - }, - "\/Management\/Supplier": { - "get": { + }, + "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Supplier" - } + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Supplier" - } + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Supplier" - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132252,53 +289051,17 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Update a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -132351,6 +289114,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + } + } + }, "security": [ { "oauth": [ @@ -132359,38 +289131,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -132408,8 +289155,27 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Delete a rule in a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -132461,15 +289227,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - } - }, "security": [ { "oauth": [ @@ -132479,10 +289236,10 @@ ] } }, - "\/Management\/DatabaseInstance": { + "\/Rule\/Collection\/Right\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -132490,26 +289247,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132530,53 +289278,17 @@ "description": "Internal server error" } }, - "description": "List or search management items", + "description": "Get a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -132637,35 +289349,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Management" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132686,8 +289390,18 @@ "description": "Internal server error" } }, - "description": "Create a new management item", + "description": "Update a rule in a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -132743,7 +289457,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132755,12 +289469,116 @@ ] } ] + }, + "delete": { + "tags": [ + "Rule" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a rule in a collection", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] } }, - "\/Management\/Budget\/{id}": { + "\/Rule\/Collection\/SoftwareCategory\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -132768,17 +289586,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132799,7 +289617,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a rule from a collection", "parameters": [ { "name": "id", @@ -132872,15 +289690,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132901,7 +289729,7 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a rule in a collection", "parameters": [ { "name": "id", @@ -132968,7 +289796,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Budget" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -132983,7 +289811,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -133005,7 +289833,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a rule in a collection", "parameters": [ { "name": "id", @@ -133086,10 +289914,10 @@ ] } }, - "\/Management\/Cluster\/{id}": { + "\/Rule\/Collection\/Ticket\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -133097,17 +289925,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133128,7 +289956,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a rule from a collection", "parameters": [ { "name": "id", @@ -133201,15 +290029,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133230,7 +290068,7 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a rule in a collection", "parameters": [ { "name": "id", @@ -133297,7 +290135,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Cluster" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133312,7 +290150,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -133334,7 +290172,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a rule in a collection", "parameters": [ { "name": "id", @@ -133415,10 +290253,10 @@ ] } }, - "\/Management\/Contact\/{id}": { + "\/Rule\/Collection\/Change\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -133426,17 +290264,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133457,7 +290295,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a rule from a collection", "parameters": [ { "name": "id", @@ -133530,15 +290368,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133559,7 +290407,7 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a rule in a collection", "parameters": [ { "name": "id", @@ -133626,7 +290474,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Contact" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133641,7 +290489,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -133663,7 +290511,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a rule in a collection", "parameters": [ { "name": "id", @@ -133744,10 +290592,10 @@ ] } }, - "\/Management\/Contract\/{id}": { + "\/Rule\/Collection\/Problem\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -133755,17 +290603,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Contract" + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Contract" + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Contract" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133786,7 +290634,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a rule from a collection", "parameters": [ { "name": "id", @@ -133859,15 +290707,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Contract" + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133888,7 +290746,7 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a rule in a collection", "parameters": [ { "name": "id", @@ -133955,7 +290813,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Contract" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -133970,7 +290828,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -133992,7 +290850,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a rule in a collection", "parameters": [ { "name": "id", @@ -134073,10 +290931,10 @@ ] } }, - "\/Management\/Database\/{id}": { + "\/Rule\/Collection\/Asset\/Rule\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -134084,17 +290942,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Database" + "$ref": "#\/components\/schemas\/Rule" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Database" + "$ref": "#\/components\/schemas\/Rule" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Database" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -134115,7 +290973,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a rule from a collection", "parameters": [ { "name": "id", @@ -134188,15 +291046,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated Rule", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Database" + "$ref": "#\/components\/schemas\/Rule" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Rule" } } } @@ -134217,7 +291085,7 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a rule in a collection", "parameters": [ { "name": "id", @@ -134284,7 +291152,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Database" + "$ref": "#\/components\/schemas\/Rule" } } } @@ -134299,7 +291167,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -134321,7 +291189,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a rule in a collection", "parameters": [ { "name": "id", @@ -134402,10 +291270,10 @@ ] } }, - "\/Management\/DataCenter\/{id}": { + "\/Rule\/Collection\/DefineItemtype\/Rule\/{id}\/Criteria": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -134413,17 +291281,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DataCenter" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/DataCenter" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/DataCenter" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } } } @@ -134444,7 +291321,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -134514,18 +291391,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/ImportAsset\/Rule\/{id}\/Criteria": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DataCenter" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } } } @@ -134546,7 +291444,7 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -134609,15 +291507,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - } - }, "security": [ { "oauth": [ @@ -134625,14 +291514,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/ImportEntity\/Rule\/{id}\/Criteria": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + } }, "400": { "description": "Bad request" @@ -134650,7 +291567,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -134663,12 +291580,126 @@ } }, { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "boolean" + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Rule\/Collection\/Location\/Rule\/{id}\/Criteria": { + "get": { + "tags": [ + "Rule" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get criteria for a rule from a collection", + "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" } }, { @@ -134731,10 +291762,10 @@ ] } }, - "\/Management\/Document\/{id}": { + "\/Rule\/Collection\/MailCollector\/Rule\/{id}\/Criteria": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -134742,17 +291773,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } } } @@ -134773,7 +291813,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -134843,125 +291883,42 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Right\/Rule\/{id}\/Criteria": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Document" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } } } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -134979,7 +291936,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -134991,15 +291948,6 @@ "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -135060,10 +292008,10 @@ ] } }, - "\/Management\/Domain\/{id}": { + "\/Rule\/Collection\/SoftwareCategory\/Rule\/{id}\/Criteria": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -135071,17 +292019,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Domain" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Domain" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Domain" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } } } @@ -135102,7 +292059,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -135172,18 +292129,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Ticket\/Rule\/{id}\/Criteria": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Domain" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } } } @@ -135204,7 +292182,7 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -135267,15 +292245,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - } - } - }, "security": [ { "oauth": [ @@ -135283,14 +292252,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/Change\/Rule\/{id}\/Criteria": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + } }, "400": { "description": "Bad request" @@ -135308,7 +292305,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -135320,15 +292317,6 @@ "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -135389,10 +292377,10 @@ ] } }, - "\/Management\/License\/{id}": { + "\/Rule\/Collection\/Problem\/Rule\/{id}\/Criteria": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -135400,17 +292388,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/License" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/License" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/License" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } } } @@ -135431,7 +292428,7 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -135501,125 +292498,42 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Asset\/Rule\/{id}\/Criteria": { + "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/License" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/License" + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } } } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -135637,7 +292551,7 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Get criteria for a rule from a collection", "parameters": [ { "name": "id", @@ -135649,15 +292563,6 @@ "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -135718,10 +292623,10 @@ ] } }, - "\/Management\/Line\/{id}": { + "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -135729,17 +292634,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Line" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Line" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Line" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -135760,8 +292665,19 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -135833,15 +292749,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Line" + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -135862,8 +292788,19 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -135929,7 +292866,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Line" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -135944,7 +292881,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -135966,8 +292903,19 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -136047,10 +292995,10 @@ ] } }, - "\/Management\/Supplier\/{id}": { + "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -136058,17 +293006,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Supplier" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Supplier" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Supplier" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -136089,8 +293037,19 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -136162,15 +293121,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Supplier" + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -136191,8 +293160,19 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -136258,7 +293238,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Supplier" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -136273,7 +293253,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -136295,8 +293275,19 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -136376,10 +293367,10 @@ ] } }, - "\/Management\/DatabaseInstance\/{id}": { + "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { @@ -136387,17 +293378,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -136418,8 +293409,19 @@ "description": "Internal server error" } }, - "description": "Get an existing management item", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -136491,15 +293493,25 @@ }, "patch": { "tags": [ - "Management" + "Rule" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -136520,8 +293532,19 @@ "description": "Internal server error" } }, - "description": "Update an existing management item", + "description": "Update a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -136587,7 +293610,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -136602,7 +293625,7 @@ }, "delete": { "tags": [ - "Management" + "Rule" ], "responses": { "204": { @@ -136624,8 +293647,19 @@ "description": "Internal server error" } }, - "description": "Delete a management item", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -136705,10 +293739,10 @@ ] } }, - "\/Project\/": { + "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Project" + "Rule" ], "responses": { "200": { @@ -136716,26 +293750,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Project" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Project" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Project" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -136756,164 +293781,29 @@ "description": "Internal server error" } }, - "description": "List or search for Projects", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] + "pattern": "\\d+" } }, { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } + "type": "integer", + "pattern": "\\d+" } }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Project", - "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -136965,15 +293855,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - } - } - }, "security": [ { "oauth": [ @@ -136981,30 +293862,28 @@ ] } ] - } - }, - "\/Project\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Project" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Project" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Project" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Project" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -137025,8 +293904,19 @@ "description": "Internal server error" } }, - "description": "Get an existing Project", + "description": "Update a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -137088,6 +293978,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -137096,20 +293995,13 @@ } ] }, - "patch": { + "delete": { "tags": [ - "Project" + "Rule" ], "responses": { - "200": { - "description": "The updated Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -137127,8 +294019,19 @@ "description": "Internal server error" } }, - "description": "Update an existing Project", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -137139,6 +294042,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -137190,15 +294102,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - } - } - }, "security": [ { "oauth": [ @@ -137206,14 +294109,33 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Criteria\/{id}": { + "get": { "tags": [ - "Project" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } }, "400": { "description": "Bad request" @@ -137231,25 +294153,27 @@ "description": "Internal server error" } }, - "description": "Delete a Project", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ { - "name": "id", - "description": "", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int64", "pattern": "\\d+" } }, { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "boolean" + "type": "integer", + "pattern": "\\d+" } }, { @@ -137310,39 +294234,28 @@ ] } ] - } - }, - "\/Project\/Task": { - "get": { + }, + "patch": { "tags": [ - "Project" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -137363,53 +294276,28 @@ "description": "Internal server error" } }, - "description": "List or search project tasks", + "description": "Update a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -137462,6 +294350,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -137470,38 +294367,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Project" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -137519,8 +294391,38 @@ "description": "Internal server error" } }, - "description": "Create a new project task", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -137572,15 +294474,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - }, "security": [ { "oauth": [ @@ -137590,10 +294483,10 @@ ] } }, - "\/Project\/Task\/{id}": { + "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Project" + "Rule" ], "responses": { "200": { @@ -137601,17 +294494,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -137632,8 +294525,19 @@ "description": "Internal server error" } }, - "description": "Get a project task by ID", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -137705,15 +294609,25 @@ }, "patch": { "tags": [ - "Project" + "Rule" ], "responses": { "200": { - "description": "The updated ProjectTask", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -137734,8 +294648,19 @@ "description": "Internal server error" } }, - "description": "Update an existing project task", + "description": "Update a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -137801,7 +294726,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -137816,7 +294741,7 @@ }, "delete": { "tags": [ - "Project" + "Rule" ], "responses": { "204": { @@ -137838,8 +294763,19 @@ "description": "Internal server error" } }, - "description": "Delete a project task", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "id", "description": "", @@ -137919,10 +294855,10 @@ ] } }, - "\/Project\/{project_id}\/Task": { + "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Project" + "Rule" ], "responses": { "200": { @@ -137930,26 +294866,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -137970,64 +294897,28 @@ "description": "Internal server error" } }, - "description": "List or search project tasks", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ { - "name": "project_id", - "description": "Project ID", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "string", + "format": "int64", "pattern": "\\d+" } }, { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -138088,35 +294979,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Project" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -138137,16 +295020,26 @@ "description": "Internal server error" } }, - "description": "Create a new project task", + "description": "Update a criterion for a rule in a collection", "parameters": [ { - "name": "project_id", - "description": "Project ID", + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "string", "pattern": "\\d+" } }, @@ -138205,7 +295098,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -138217,84 +295110,14 @@ ] } ] - } - }, - "\/Dropdowns\/": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -138312,8 +295135,38 @@ "description": "Internal server error" } }, - "description": "Get all available dropdown types", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -138374,10 +295227,10 @@ ] } }, - "\/Dropdowns\/Location": { + "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -138385,26 +295238,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Location" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Location" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Location" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -138425,53 +295269,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -138532,35 +295351,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -138581,8 +295392,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Update a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -138638,7 +295470,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Location" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -138650,42 +295482,14 @@ ] } ] - } - }, - "\/Dropdowns\/State": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/State" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/State" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/State" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -138703,53 +295507,37 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Delete a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -138809,36 +295597,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Criteria\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -138859,8 +295641,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -138912,15 +295715,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - } - } - }, "security": [ { "oauth": [ @@ -138928,39 +295722,28 @@ ] } ] - } - }, - "\/Dropdowns\/Manufacturer": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Manufacturer" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Manufacturer" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Manufacturer" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -138981,53 +295764,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Update a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -139080,6 +295838,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -139088,38 +295855,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -139137,8 +295879,38 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -139190,15 +295962,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - } - }, "security": [ { "oauth": [ @@ -139208,10 +295971,10 @@ ] } }, - "\/Dropdowns\/Calendar": { + "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Criteria\/{id}": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -139219,26 +295982,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Calendar" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Calendar" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Calendar" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -139259,53 +296013,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -139366,35 +296095,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -139415,8 +296136,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Update a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -139472,7 +296214,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Calendar" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -139484,42 +296226,14 @@ ] } ] - } - }, - "\/Dropdowns\/WifiNetwork": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -139537,53 +296251,37 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Delete a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -139643,36 +296341,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Criteria\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -139693,8 +296385,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific criterion for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -139746,15 +296459,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - } - }, "security": [ { "oauth": [ @@ -139762,39 +296466,28 @@ ] } ] - } - }, - "\/Dropdowns\/NetworkPortFiberchannelType": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleCriteria", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -139815,53 +296508,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Update a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -139914,6 +296582,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -139922,38 +296599,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -139971,8 +296623,38 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Delete a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -140024,15 +296706,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - } - }, "security": [ { "oauth": [ @@ -140042,10 +296715,10 @@ ] } }, - "\/Dropdowns\/DatabaseInstanceCategory": { + "\/Rule\/Collection\/DefineItemtype\/Rule\/{id}\/Action": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -140055,7 +296728,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140063,7 +296736,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140071,7 +296744,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -140093,53 +296766,17 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -140199,35 +296836,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/ImportAsset\/Rule\/{id}\/Action": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -140249,8 +296889,18 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -140302,15 +296952,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -140320,10 +296961,10 @@ ] } }, - "\/Dropdowns\/DatabaseInstanceType": { + "\/Rule\/Collection\/ImportEntity\/Rule\/{id}\/Action": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -140333,7 +296974,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140341,7 +296982,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140349,7 +296990,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -140371,53 +297012,17 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -140477,35 +297082,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Location\/Rule\/{id}\/Action": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -140527,8 +297135,18 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -140580,15 +297198,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } - }, "security": [ { "oauth": [ @@ -140598,10 +297207,10 @@ ] } }, - "\/Dropdowns\/ITILCategory": { + "\/Rule\/Collection\/MailCollector\/Rule\/{id}\/Action": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -140611,7 +297220,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ITILCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140619,7 +297228,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ITILCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140627,7 +297236,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/ITILCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -140649,53 +297258,17 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -140755,35 +297328,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Right\/Rule\/{id}\/Action": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -140805,8 +297381,18 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -140858,15 +297444,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -140876,10 +297453,10 @@ ] } }, - "\/Dropdowns\/TaskCategory": { + "\/Rule\/Collection\/SoftwareCategory\/Rule\/{id}\/Action": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -140889,7 +297466,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TaskCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140897,7 +297474,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TaskCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -140905,7 +297482,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/TaskCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -140927,53 +297504,17 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -141033,35 +297574,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Ticket\/Rule\/{id}\/Action": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -141083,8 +297627,18 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -141136,15 +297690,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -141154,10 +297699,10 @@ ] } }, - "\/Dropdowns\/RequestType": { + "\/Rule\/Collection\/Change\/Rule\/{id}\/Action": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -141167,7 +297712,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RequestType" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -141175,7 +297720,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RequestType" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -141183,7 +297728,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RequestType" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -141205,53 +297750,17 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -141311,35 +297820,38 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Problem\/Rule\/{id}\/Action": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -141361,8 +297873,18 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -141414,15 +297936,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - } - }, "security": [ { "oauth": [ @@ -141432,10 +297945,10 @@ ] } }, - "\/Dropdowns\/EventCategory": { + "\/Rule\/Collection\/Asset\/Rule\/{id}\/Action": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -141445,7 +297958,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EventCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -141453,7 +297966,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EventCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } }, @@ -141461,7 +297974,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/EventCategory" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -141483,53 +297996,17 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get actions for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -141589,36 +298066,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Action\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -141639,8 +298110,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -141692,15 +298184,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -141708,39 +298191,28 @@ ] } ] - } - }, - "\/Dropdowns\/USBVendor": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/USBVendor" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/USBVendor" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/USBVendor" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -141761,53 +298233,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -141860,6 +298307,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -141868,38 +298324,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -141917,8 +298348,38 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -141970,15 +298431,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - } - }, "security": [ { "oauth": [ @@ -141988,10 +298440,10 @@ ] } }, - "\/Dropdowns\/PCIVendor": { + "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Action\/{id}": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -141999,26 +298451,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIVendor" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIVendor" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIVendor" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -142039,53 +298482,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -142146,35 +298564,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -142195,8 +298605,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -142252,7 +298683,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -142264,42 +298695,14 @@ ] } ] - } - }, - "\/Dropdowns\/DenyList": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -142317,53 +298720,37 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -142423,36 +298810,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Action\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -142473,8 +298854,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -142526,15 +298928,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - } - }, "security": [ { "oauth": [ @@ -142542,39 +298935,28 @@ ] } ] - } - }, - "\/Dropdowns\/DeniedMailContent": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -142591,57 +298973,32 @@ "404": { "description": "Not found" }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, + "500": { + "description": "Internal server error" + } + }, + "description": "Update an action for a rule in a collection", + "parameters": [ { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -142694,6 +299051,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -142702,38 +299068,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -142751,8 +299092,38 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -142804,15 +299175,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - } - }, "security": [ { "oauth": [ @@ -142822,10 +299184,10 @@ ] } }, - "\/Dropdowns\/CloseTime": { + "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Action\/{id}": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -142833,26 +299195,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CloseTime" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CloseTime" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CloseTime" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -142873,53 +299226,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -142980,35 +299308,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -143029,8 +299349,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -143086,7 +299427,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CloseTime" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -143098,42 +299439,14 @@ ] } ] - } - }, - "\/Dropdowns\/BusinessCriticity": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -143151,53 +299464,37 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -143257,36 +299554,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Action\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -143307,8 +299598,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -143360,15 +299672,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - }, "security": [ { "oauth": [ @@ -143376,39 +299679,28 @@ ] } ] - } - }, - "\/Dropdowns\/DocumentCategory": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -143429,53 +299721,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -143528,6 +299795,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -143536,38 +299812,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -143585,8 +299836,38 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -143638,15 +299919,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -143656,10 +299928,10 @@ ] } }, - "\/Dropdowns\/DocumentType": { + "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Action\/{id}": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -143667,26 +299939,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentType" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentType" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentType" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -143707,53 +299970,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -143814,35 +300052,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -143863,8 +300093,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -143920,7 +300171,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DocumentType" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -143932,42 +300183,14 @@ ] } ] - } - }, - "\/Dropdowns\/VirtualMachineType": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -143985,53 +300208,37 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -144091,36 +300298,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Action\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -144141,8 +300342,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -144194,15 +300416,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - } - }, "security": [ { "oauth": [ @@ -144210,39 +300423,28 @@ ] } ] - } - }, - "\/Dropdowns\/VirtualMachineModel": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -144263,53 +300465,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -144362,6 +300539,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -144370,38 +300556,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -144415,12 +300576,42 @@ "404": { "description": "Not found" }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ + "500": { + "description": "Internal server error" + } + }, + "description": "Delete an action for a rule in a collection", + "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -144472,15 +300663,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - } - }, "security": [ { "oauth": [ @@ -144490,10 +300672,10 @@ ] } }, - "\/Dropdowns\/VirtualMachineState": { + "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Action\/{id}": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -144501,26 +300683,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -144541,53 +300714,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -144648,35 +300796,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -144697,8 +300837,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -144754,7 +300915,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -144766,42 +300927,14 @@ ] } ] - } - }, - "\/Dropdowns\/CableType": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableType" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -144819,53 +300952,37 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -144925,36 +301042,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Action\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -144975,8 +301086,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -145028,15 +301160,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableType" - } - } - } - }, "security": [ { "oauth": [ @@ -145044,39 +301167,28 @@ ] } ] - } - }, - "\/Dropdowns\/CableStrand": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableStrand" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableStrand" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableStrand" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -145097,53 +301209,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -145196,6 +301283,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -145204,38 +301300,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -145253,8 +301324,38 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -145306,15 +301407,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - } - }, "security": [ { "oauth": [ @@ -145324,10 +301416,10 @@ ] } }, - "\/Dropdowns\/AutoUpdateSystem": { + "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Action\/{id}": { "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { @@ -145335,26 +301427,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -145375,53 +301458,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -145482,35 +301540,27 @@ } ] }, - "post": { + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -145531,8 +301581,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -145588,7 +301659,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -145600,42 +301671,14 @@ ] } ] - } - }, - "\/Dropdowns\/FollowupTemplate": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -145653,53 +301696,37 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -145759,36 +301786,30 @@ ] } ] - }, - "post": { + } + }, + "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Action\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -145809,8 +301830,29 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Get a specific action for a rule from a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -145862,15 +301904,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - } - }, "security": [ { "oauth": [ @@ -145878,39 +301911,28 @@ ] } ] - } - }, - "\/Dropdowns\/TaskTemplate": { - "get": { + }, + "patch": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "200": { - "description": "", + "description": "The updated RuleAction", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } + "$ref": "#\/components\/schemas\/RuleAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -145931,53 +301953,28 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Update an action for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -146030,6 +302027,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -146038,38 +302044,13 @@ } ] }, - "post": { + "delete": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -146087,8 +302068,38 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Delete an action for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -146140,15 +302151,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - } - }, "security": [ { "oauth": [ @@ -146158,36 +302160,35 @@ ] } }, - "\/Dropdowns\/SolutionTemplate": { - "get": { + "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Criteria": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionTemplate" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -146209,53 +302210,18 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -146308,6 +302274,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -146315,10 +302290,12 @@ ] } ] - }, + } + }, + "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Criteria": { "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "201": { @@ -146365,8 +302342,19 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -146422,7 +302410,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -146436,36 +302424,35 @@ ] } }, - "\/Dropdowns\/ValidationTemplate": { - "get": { + "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Criteria": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ValidationTemplate" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -146487,53 +302474,18 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -146586,6 +302538,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -146593,10 +302554,12 @@ ] } ] - }, + } + }, + "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Criteria": { "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "201": { @@ -146643,8 +302606,19 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -146700,7 +302674,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -146714,36 +302688,35 @@ ] } }, - "\/Dropdowns\/SolutionType": { - "get": { + "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Criteria": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionType" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionType" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -146765,53 +302738,18 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -146864,6 +302802,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -146871,10 +302818,12 @@ ] } ] - }, + } + }, + "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Criteria": { "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "201": { @@ -146921,8 +302870,19 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -146978,7 +302938,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionType" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -146992,36 +302952,35 @@ ] } }, - "\/Dropdowns\/ApprovalStep": { - "get": { + "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Criteria": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalStep" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -147043,53 +303002,18 @@ "description": "Internal server error" } }, - "description": "List or search dropdowns of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, "schema": { "type": "integer", "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -147142,6 +303066,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -147149,10 +303082,12 @@ ] } ] - }, + } + }, + "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Criteria": { "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { "201": { @@ -147199,8 +303134,19 @@ "description": "Internal server error" } }, - "description": "Create a dropdown of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ + { + "name": "rule_id", + "description": "Rule ID", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -147256,7 +303202,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" + "$ref": "#\/components\/schemas\/RuleCriteria" } } } @@ -147270,28 +303216,36 @@ ] } }, - "\/Dropdowns\/Location\/{id}": { - "get": { + "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Criteria": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Location" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Location" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Location" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -147312,16 +303266,16 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -147376,6 +303330,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -147383,18 +303346,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Criteria": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Location" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -147415,16 +303398,16 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -147483,26 +303466,53 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Location" + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Criteria": { + "post": { + "tags": [ + "Rule" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } } } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -147520,28 +303530,19 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create a criterion for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -147593,6 +303594,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleCriteria" + } + } + } + }, "security": [ { "oauth": [ @@ -147602,28 +303612,36 @@ ] } }, - "\/Dropdowns\/State\/{id}": { - "get": { + "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/State" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/State" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -147644,16 +303662,16 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -147708,6 +303726,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -147715,18 +303742,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/State" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -147747,16 +303794,16 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -147815,7 +303862,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/State" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -147827,14 +303874,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -147852,28 +303926,19 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -147925,6 +303990,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -147934,28 +304008,36 @@ ] } }, - "\/Dropdowns\/Manufacturer\/{id}": { - "get": { + "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -147976,16 +304058,16 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -148040,6 +304122,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -148047,18 +304138,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -148079,16 +304190,16 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -148147,7 +304258,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -148159,14 +304270,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -148184,28 +304322,19 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -148257,6 +304386,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -148266,28 +304404,36 @@ ] } }, - "\/Dropdowns\/Calendar\/{id}": { - "get": { + "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Calendar" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Calendar" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Calendar" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -148308,16 +304454,16 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -148372,6 +304518,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -148379,18 +304534,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Calendar" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -148411,16 +304586,16 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -148479,7 +304654,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Calendar" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -148491,14 +304666,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -148516,28 +304718,19 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -148589,6 +304782,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -148598,28 +304800,36 @@ ] } }, - "\/Dropdowns\/WifiNetwork\/{id}": { - "get": { + "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -148640,16 +304850,16 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -148704,6 +304914,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RuleAction" + } + } + } + }, "security": [ { "oauth": [ @@ -148711,18 +304930,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Action": { + "post": { "tags": [ - "Dropdowns" + "Rule" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -148743,16 +304982,16 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create an action for a rule in a collection", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", + "name": "rule_id", + "description": "Rule ID", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", + "format": "int64", "pattern": "\\d+" } }, @@ -148811,7 +305050,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" + "$ref": "#\/components\/schemas\/RuleAction" } } } @@ -148823,14 +305062,84 @@ ] } ] - }, - "delete": { + } + }, + "\/Tools\/": { + "get": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + } + } }, "400": { "description": "Bad request" @@ -148848,28 +305157,8 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Get all available tool types", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -148930,10 +305219,10 @@ ] } }, - "\/Dropdowns\/NetworkPortFiberchannelType\/{id}": { + "\/Tools\/Reminder": { "get": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { "200": { @@ -148941,17 +305230,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Reminder" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Reminder" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Reminder" + } } } } @@ -148972,18 +305270,53 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "List or search for Reminders", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -149044,17 +305377,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -149075,19 +305426,8 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create a new Reminder", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -149143,7 +305483,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" + "$ref": "#\/components\/schemas\/Reminder" } } } @@ -149155,14 +305495,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Tools\/RSSFeed": { + "get": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RSSFeed" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RSSFeed" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/RSSFeed" + } + } + } + } }, "400": { "description": "Bad request" @@ -149180,27 +305548,53 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "List or search for RSSFeeds", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -149260,30 +305654,36 @@ ] } ] - } - }, - "\/Dropdowns\/DatabaseInstanceCategory\/{id}": { - "get": { + }, + "post": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -149304,19 +305704,8 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create a new RSSFeed", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -149368,6 +305757,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RSSFeed" + } + } + } + }, "security": [ { "oauth": [ @@ -149375,18 +305773,30 @@ ] } ] - }, - "patch": { + } + }, + "\/Tools\/Reminder\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" + "$ref": "#\/components\/schemas\/Reminder" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Reminder" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Reminder" } } } @@ -149407,16 +305817,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Get an existing Reminder", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -149471,15 +305880,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -149488,13 +305888,20 @@ } ] }, - "delete": { + "patch": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Reminder" + } + } + } }, "400": { "description": "Bad request" @@ -149512,28 +305919,18 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Update an existing Reminder", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -149585,6 +305982,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Reminder" + } + } + } + }, "security": [ { "oauth": [ @@ -149592,33 +305998,14 @@ ] } ] - } - }, - "\/Dropdowns\/DatabaseInstanceType\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -149636,19 +306023,27 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Delete a Reminder", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -149707,18 +306102,30 @@ ] } ] - }, - "patch": { + } + }, + "\/Tools\/RSSFeed\/{id}": { + "get": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" + "$ref": "#\/components\/schemas\/RSSFeed" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/RSSFeed" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/RSSFeed" } } } @@ -149739,16 +306146,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Get an existing RSSFeed", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -149803,15 +306209,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } - }, "security": [ { "oauth": [ @@ -149820,13 +306217,20 @@ } ] }, - "delete": { + "patch": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RSSFeed" + } + } + } }, "400": { "description": "Bad request" @@ -149844,28 +306248,18 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Update an existing RSSFeed", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -149917,6 +306311,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/RSSFeed" + } + } + } + }, "security": [ { "oauth": [ @@ -149924,33 +306327,14 @@ ] } ] - } - }, - "\/Dropdowns\/ITILCategory\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Dropdowns" + "Tools" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -149968,19 +306352,27 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Delete a RSSFeed", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -150039,18 +306431,81 @@ ] } ] - }, - "patch": { + } + }, + "\/Setup\/": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemtype": { + "type": "string", + "format": "string" + }, + "name": { + "type": "string", + "format": "string" + }, + "href": { + "type": "string", + "format": "string" + } + } + } } } } @@ -150071,19 +306526,8 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Get all available setup types", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -150135,15 +306579,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -150151,14 +306586,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Setup\/LDAPDirectory": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LDAPDirectory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LDAPDirectory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LDAPDirectory" + } + } + } + } }, "400": { "description": "Bad request" @@ -150176,27 +306639,53 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "List or search for LDAPDirectorys", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -150256,30 +306745,36 @@ ] } ] - } - }, - "\/Dropdowns\/TaskCategory\/{id}": { - "get": { + }, + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -150300,19 +306795,8 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create a new LDAPDirectory", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -150364,6 +306848,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/LDAPDirectory" + } + } + } + }, "security": [ { "oauth": [ @@ -150371,18 +306864,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Setup\/SLM": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLM" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLM" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLM" + } } } } @@ -150403,18 +306917,53 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "List or search for SLMs", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -150467,15 +307016,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -150484,13 +307024,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -150508,28 +307073,8 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create a new SLM", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -150581,6 +307126,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SLM" + } + } + } + }, "security": [ { "oauth": [ @@ -150590,10 +307144,10 @@ ] } }, - "\/Dropdowns\/RequestType\/{id}": { + "\/Setup\/SLA": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -150601,17 +307155,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RequestType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLA" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/RequestType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLA" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/RequestType" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLA" + } } } } @@ -150632,18 +307195,53 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "List or search for SLAs", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -150704,17 +307302,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RequestType" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -150735,19 +307351,8 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create a new SLA", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -150803,7 +307408,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RequestType" + "$ref": "#\/components\/schemas\/SLA" } } } @@ -150815,14 +307420,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Setup\/SLALevel": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLALevel" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLALevel" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SLALevel" + } + } + } + } }, "400": { "description": "Bad request" @@ -150840,27 +307473,53 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "List or search for SLALevels", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -150920,30 +307579,36 @@ ] } ] - } - }, - "\/Dropdowns\/EventCategory\/{id}": { - "get": { + }, + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/EventCategory" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/EventCategory" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -150964,19 +307629,8 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create a new SLALevel", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -151028,6 +307682,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SLALevel" + } + } + } + }, "security": [ { "oauth": [ @@ -151035,18 +307698,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Setup\/OLA": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/EventCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OLA" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OLA" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OLA" + } } } } @@ -151067,18 +307751,53 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "List or search for OLAs", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -151131,15 +307850,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -151148,13 +307858,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -151172,28 +307907,8 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create a new OLA", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -151245,6 +307960,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/OLA" + } + } + } + }, "security": [ { "oauth": [ @@ -151254,10 +307978,10 @@ ] } }, - "\/Dropdowns\/USBVendor\/{id}": { + "\/Setup\/OLALevel": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -151265,17 +307989,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/USBVendor" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OLALevel" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/USBVendor" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OLALevel" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/USBVendor" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OLALevel" + } } } } @@ -151296,18 +308029,53 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "List or search for OLALevels", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -151368,17 +308136,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/USBVendor" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -151399,19 +308185,8 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create a new OLALevel", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -151467,7 +308242,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/USBVendor" + "$ref": "#\/components\/schemas\/OLALevel" } } } @@ -151479,14 +308254,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Setup\/EmailAuthServer": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailAuthServer" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailAuthServer" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailAuthServer" + } + } + } + } }, "400": { "description": "Bad request" @@ -151504,27 +308307,53 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "List or search for EmailAuthServers", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -151584,30 +308413,36 @@ ] } ] - } - }, - "\/Dropdowns\/PCIVendor\/{id}": { - "get": { + }, + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -151628,19 +308463,8 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create a new EmailAuthServer", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -151692,6 +308516,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EmailAuthServer" + } + } + } + }, "security": [ { "oauth": [ @@ -151699,18 +308532,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Setup\/FieldUnicity": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FieldUnicity" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FieldUnicity" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/FieldUnicity" + } } } } @@ -151724,25 +308578,60 @@ "403": { "description": "Forbidden" }, - "404": { - "description": "Not found" + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "List or search for FieldUnicitys", + "parameters": [ + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -151795,15 +308684,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - } - }, "security": [ { "oauth": [ @@ -151812,13 +308692,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -151836,28 +308741,8 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create a new FieldUnicity", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -151909,6 +308794,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/FieldUnicity" + } + } + } + }, "security": [ { "oauth": [ @@ -151918,10 +308812,10 @@ ] } }, - "\/Dropdowns\/DenyList\/{id}": { + "\/Setup\/LDAPDirectoryReplicate": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -151929,17 +308823,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DenyList" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/DenyList" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/DenyList" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" + } } } } @@ -151960,18 +308863,53 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "List or search for LDAPDirectoryReplicates", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -152032,17 +308970,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DenyList" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -152063,19 +309019,8 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create a new LDAPDirectoryReplicate", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -152131,7 +309076,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DenyList" + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" } } } @@ -152143,14 +309088,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Setup\/EmailCollector": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailCollector" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailCollector" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/EmailCollector" + } + } + } + } }, "400": { "description": "Bad request" @@ -152168,27 +309141,53 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "List or search for EmailCollectors", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -152248,30 +309247,36 @@ ] } ] - } - }, - "\/Dropdowns\/DeniedMailContent\/{id}": { - "get": { + }, + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -152292,19 +309297,8 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create a new EmailCollector", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -152356,6 +309350,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/EmailCollector" + } + } + } + }, "security": [ { "oauth": [ @@ -152363,18 +309366,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Setup\/ExternalLink": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ExternalLink" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ExternalLink" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ExternalLink" + } } } } @@ -152395,18 +309419,53 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "List or search for ExternalLinks", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -152459,15 +309518,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - } - }, "security": [ { "oauth": [ @@ -152476,13 +309526,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -152500,28 +309575,8 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create a new ExternalLink", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -152573,6 +309628,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/ExternalLink" + } + } + } + }, "security": [ { "oauth": [ @@ -152582,10 +309646,10 @@ ] } }, - "\/Dropdowns\/CloseTime\/{id}": { + "\/Setup\/ManualLink": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -152593,17 +309657,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CloseTime" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ManualLink" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CloseTime" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ManualLink" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CloseTime" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/ManualLink" + } } } } @@ -152624,18 +309697,53 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "List or search for ManualLinks", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -152696,17 +309804,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CloseTime" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -152727,19 +309853,8 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create a new ManualLink", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -152795,7 +309910,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CloseTime" + "$ref": "#\/components\/schemas\/ManualLink" } } } @@ -152807,14 +309922,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Setup\/Webhook": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Webhook" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Webhook" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Webhook" + } + } + } + } }, "400": { "description": "Bad request" @@ -152832,27 +309975,53 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "List or search for Webhooks", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -152912,30 +310081,36 @@ ] } ] - } - }, - "\/Dropdowns\/BusinessCriticity\/{id}": { - "get": { + }, + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -152956,19 +310131,8 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Create a new Webhook", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -153020,6 +310184,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Webhook" + } + } + } + }, "security": [ { "oauth": [ @@ -153027,18 +310200,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Setup\/WebhookCategory": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { - "description": "The updated {itemtype}", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/WebhookCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/WebhookCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/WebhookCategory" + } } } } @@ -153059,18 +310253,53 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "List or search for WebhookCategorys", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -153123,15 +310352,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - }, "security": [ { "oauth": [ @@ -153140,13 +310360,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -153164,28 +310409,8 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Create a new WebhookCategory", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -153237,6 +310462,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/WebhookCategory" + } + } + } + }, "security": [ { "oauth": [ @@ -153246,10 +310480,10 @@ ] } }, - "\/Dropdowns\/DocumentCategory\/{id}": { + "\/Setup\/QueuedWebhook": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -153257,17 +310491,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/QueuedWebhook" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/QueuedWebhook" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/QueuedWebhook" + } } } } @@ -153288,18 +310531,53 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "List or search for QueuedWebhooks", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -153360,17 +310638,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -153391,19 +310687,8 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Create a new QueuedWebhook", "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -153459,7 +310744,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" + "$ref": "#\/components\/schemas\/QueuedWebhook" } } } @@ -153471,14 +310756,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Setup\/OAuthClient": { + "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OAuthClient" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OAuthClient" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/OAuthClient" + } + } + } + } }, "400": { "description": "Bad request" @@ -153496,28 +310809,164 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "List or search for OAuthClients", "parameters": [ { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "post": { + "tags": [ + "Setup" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new OAuthClient", + "parameters": [ { "name": "GLPI-Entity", "in": "header", @@ -153569,6 +311018,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/OAuthClient" + } + } + } + }, "security": [ { "oauth": [ @@ -153578,10 +311036,10 @@ ] } }, - "\/Dropdowns\/DocumentType\/{id}": { + "\/Setup\/LDAPDirectory\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -153589,17 +311047,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DocumentType" + "$ref": "#\/components\/schemas\/LDAPDirectory" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/DocumentType" + "$ref": "#\/components\/schemas\/LDAPDirectory" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/DocumentType" + "$ref": "#\/components\/schemas\/LDAPDirectory" } } } @@ -153620,16 +311078,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing LDAPDirectory", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -153694,7 +311151,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -153702,7 +311159,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DocumentType" + "$ref": "#\/components\/schemas\/LDAPDirectory" } } } @@ -153723,16 +311180,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing LDAPDirectory", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -153791,7 +311247,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/DocumentType" + "$ref": "#\/components\/schemas\/LDAPDirectory" } } } @@ -153806,7 +311262,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -153828,16 +311284,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a LDAPDirectory", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -153910,10 +311365,10 @@ ] } }, - "\/Dropdowns\/VirtualMachineType\/{id}": { + "\/Setup\/SLM\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -153921,17 +311376,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" + "$ref": "#\/components\/schemas\/SLM" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" + "$ref": "#\/components\/schemas\/SLM" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" + "$ref": "#\/components\/schemas\/SLM" } } } @@ -153952,16 +311407,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing SLM", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154026,7 +311480,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -154034,7 +311488,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" + "$ref": "#\/components\/schemas\/SLM" } } } @@ -154055,16 +311509,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing SLM", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154123,7 +311576,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" + "$ref": "#\/components\/schemas\/SLM" } } } @@ -154138,7 +311591,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -154160,16 +311613,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a SLM", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154242,10 +311694,10 @@ ] } }, - "\/Dropdowns\/VirtualMachineModel\/{id}": { + "\/Setup\/SLA\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -154253,17 +311705,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" + "$ref": "#\/components\/schemas\/SLA" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" + "$ref": "#\/components\/schemas\/SLA" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" + "$ref": "#\/components\/schemas\/SLA" } } } @@ -154284,16 +311736,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing SLA", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154358,7 +311809,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -154366,7 +311817,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" + "$ref": "#\/components\/schemas\/SLA" } } } @@ -154387,16 +311838,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing SLA", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154455,7 +311905,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" + "$ref": "#\/components\/schemas\/SLA" } } } @@ -154470,7 +311920,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -154492,16 +311942,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a SLA", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154574,10 +312023,10 @@ ] } }, - "\/Dropdowns\/VirtualMachineState\/{id}": { + "\/Setup\/SLALevel\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -154585,17 +312034,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" + "$ref": "#\/components\/schemas\/SLALevel" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" + "$ref": "#\/components\/schemas\/SLALevel" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" + "$ref": "#\/components\/schemas\/SLALevel" } } } @@ -154616,16 +312065,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing SLALevel", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154690,7 +312138,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -154698,7 +312146,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" + "$ref": "#\/components\/schemas\/SLALevel" } } } @@ -154719,16 +312167,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing SLALevel", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154787,7 +312234,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" + "$ref": "#\/components\/schemas\/SLALevel" } } } @@ -154802,7 +312249,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -154824,16 +312271,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a SLALevel", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -154906,10 +312352,10 @@ ] } }, - "\/Dropdowns\/CableType\/{id}": { + "\/Setup\/OLA\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -154917,17 +312363,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CableType" + "$ref": "#\/components\/schemas\/OLA" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CableType" + "$ref": "#\/components\/schemas\/OLA" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CableType" + "$ref": "#\/components\/schemas\/OLA" } } } @@ -154948,16 +312394,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing OLA", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155022,7 +312467,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -155030,7 +312475,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CableType" + "$ref": "#\/components\/schemas\/OLA" } } } @@ -155051,16 +312496,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing OLA", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155119,7 +312563,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CableType" + "$ref": "#\/components\/schemas\/OLA" } } } @@ -155134,7 +312578,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -155156,16 +312600,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a OLA", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155238,10 +312681,10 @@ ] } }, - "\/Dropdowns\/CableStrand\/{id}": { + "\/Setup\/OLALevel\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -155249,17 +312692,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CableStrand" + "$ref": "#\/components\/schemas\/OLALevel" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/CableStrand" + "$ref": "#\/components\/schemas\/OLALevel" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/CableStrand" + "$ref": "#\/components\/schemas\/OLALevel" } } } @@ -155280,16 +312723,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing OLALevel", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155354,7 +312796,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -155362,7 +312804,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CableStrand" + "$ref": "#\/components\/schemas\/OLALevel" } } } @@ -155383,16 +312825,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing OLALevel", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155451,7 +312892,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/CableStrand" + "$ref": "#\/components\/schemas\/OLALevel" } } } @@ -155466,7 +312907,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -155488,16 +312929,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a OLALevel", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155570,10 +313010,10 @@ ] } }, - "\/Dropdowns\/AutoUpdateSystem\/{id}": { + "\/Setup\/EmailAuthServer\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -155581,17 +313021,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" + "$ref": "#\/components\/schemas\/EmailAuthServer" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" + "$ref": "#\/components\/schemas\/EmailAuthServer" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" + "$ref": "#\/components\/schemas\/EmailAuthServer" } } } @@ -155612,16 +313052,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing EmailAuthServer", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155686,7 +313125,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -155694,7 +313133,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" + "$ref": "#\/components\/schemas\/EmailAuthServer" } } } @@ -155715,16 +313154,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing EmailAuthServer", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155783,7 +313221,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" + "$ref": "#\/components\/schemas\/EmailAuthServer" } } } @@ -155798,7 +313236,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -155820,16 +313258,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a EmailAuthServer", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -155902,10 +313339,10 @@ ] } }, - "\/Dropdowns\/FollowupTemplate\/{id}": { + "\/Setup\/FieldUnicity\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -155913,17 +313350,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" + "$ref": "#\/components\/schemas\/FieldUnicity" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" + "$ref": "#\/components\/schemas\/FieldUnicity" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" + "$ref": "#\/components\/schemas\/FieldUnicity" } } } @@ -155944,16 +313381,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing FieldUnicity", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156018,7 +313454,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -156026,7 +313462,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" + "$ref": "#\/components\/schemas\/FieldUnicity" } } } @@ -156047,16 +313483,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing FieldUnicity", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156115,7 +313550,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" + "$ref": "#\/components\/schemas\/FieldUnicity" } } } @@ -156130,7 +313565,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -156152,16 +313587,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a FieldUnicity", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156234,10 +313668,10 @@ ] } }, - "\/Dropdowns\/TaskTemplate\/{id}": { + "\/Setup\/LDAPDirectoryReplicate\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -156245,17 +313679,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" } } } @@ -156276,16 +313710,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing LDAPDirectoryReplicate", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156350,7 +313783,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -156358,7 +313791,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" } } } @@ -156379,16 +313812,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing LDAPDirectoryReplicate", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156447,7 +313879,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" + "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" } } } @@ -156462,7 +313894,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -156484,16 +313916,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a LDAPDirectoryReplicate", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156566,10 +313997,10 @@ ] } }, - "\/Dropdowns\/SolutionTemplate\/{id}": { + "\/Setup\/EmailCollector\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -156577,17 +314008,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" + "$ref": "#\/components\/schemas\/EmailCollector" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" + "$ref": "#\/components\/schemas\/EmailCollector" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" + "$ref": "#\/components\/schemas\/EmailCollector" } } } @@ -156608,16 +314039,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing EmailCollector", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156682,7 +314112,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -156690,7 +314120,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" + "$ref": "#\/components\/schemas\/EmailCollector" } } } @@ -156711,16 +314141,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing EmailCollector", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156779,7 +314208,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" + "$ref": "#\/components\/schemas\/EmailCollector" } } } @@ -156794,7 +314223,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -156816,16 +314245,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a EmailCollector", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -156898,10 +314326,10 @@ ] } }, - "\/Dropdowns\/ValidationTemplate\/{id}": { + "\/Setup\/ExternalLink\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -156909,17 +314337,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" + "$ref": "#\/components\/schemas\/ExternalLink" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" + "$ref": "#\/components\/schemas\/ExternalLink" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" + "$ref": "#\/components\/schemas\/ExternalLink" } } } @@ -156940,16 +314368,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing ExternalLink", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157014,7 +314441,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -157022,7 +314449,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" + "$ref": "#\/components\/schemas\/ExternalLink" } } } @@ -157043,16 +314470,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing ExternalLink", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157111,7 +314537,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" + "$ref": "#\/components\/schemas\/ExternalLink" } } } @@ -157126,7 +314552,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -157148,16 +314574,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a ExternalLink", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157230,10 +314655,10 @@ ] } }, - "\/Dropdowns\/SolutionType\/{id}": { + "\/Setup\/ManualLink\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -157241,17 +314666,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionType" + "$ref": "#\/components\/schemas\/ManualLink" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/SolutionType" + "$ref": "#\/components\/schemas\/ManualLink" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/SolutionType" + "$ref": "#\/components\/schemas\/ManualLink" } } } @@ -157272,16 +314697,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing ManualLink", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157346,7 +314770,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -157354,7 +314778,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionType" + "$ref": "#\/components\/schemas\/ManualLink" } } } @@ -157375,16 +314799,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing ManualLink", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157443,7 +314866,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/SolutionType" + "$ref": "#\/components\/schemas\/ManualLink" } } } @@ -157458,7 +314881,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -157480,16 +314903,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a ManualLink", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157562,10 +314984,10 @@ ] } }, - "\/Dropdowns\/ApprovalStep\/{id}": { + "\/Setup\/Webhook\/{id}": { "get": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -157573,17 +314995,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" + "$ref": "#\/components\/schemas\/Webhook" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" + "$ref": "#\/components\/schemas\/Webhook" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" + "$ref": "#\/components\/schemas\/Webhook" } } } @@ -157604,16 +315026,15 @@ "description": "Internal server error" } }, - "description": "Get an existing dropdown of a specific type", + "description": "Get an existing Webhook", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157678,7 +315099,7 @@ }, "patch": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "200": { @@ -157686,7 +315107,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" + "$ref": "#\/components\/schemas\/Webhook" } } } @@ -157707,16 +315128,15 @@ "description": "Internal server error" } }, - "description": "Update an existing dropdown of a specific type", + "description": "Update an existing Webhook", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157775,7 +315195,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" + "$ref": "#\/components\/schemas\/Webhook" } } } @@ -157790,7 +315210,7 @@ }, "delete": { "tags": [ - "Dropdowns" + "Setup" ], "responses": { "204": { @@ -157812,16 +315232,15 @@ "description": "Internal server error" } }, - "description": "Delete a dropdown of a specific type", + "description": "Delete a Webhook", "parameters": [ { "name": "id", - "description": "The ID of the dropdown item", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, @@ -157894,36 +315313,28 @@ ] } }, - "\/GraphQL\/": { - "post": { + "\/Setup\/WebhookCategory\/{id}": { + "get": { "tags": [ - "GraphQL" + "Setup" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/WebhookCategory" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/WebhookCategory" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/WebhookCategory" } } } @@ -157944,8 +315355,18 @@ "description": "Internal server error" } }, - "description": "GraphQL API", + "description": "Get an existing WebhookCategory", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -158000,20 +315421,25 @@ "security": [ { "oauth": [ - "graphql" + "api" ] } ] - } - }, - "\/GraphQL\/Schema": { - "get": { + }, + "patch": { "tags": [ - "GraphQL" + "Setup" ], "responses": { "200": { - "description": "Success" + "description": "The updated {itemtype}", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/WebhookCategory" + } + } + } }, "400": { "description": "Bad request" @@ -158031,8 +315457,18 @@ "description": "Internal server error" } }, - "description": "GraphQL API Schema", + "description": "Update an existing WebhookCategory", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -158084,50 +315520,30 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/WebhookCategory" + } + } + } + }, "security": [ { "oauth": [ - "graphql" + "api" ] } ] - } - }, - "\/Assistance\/Stat": { - "get": { + }, + "delete": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/StatReport" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/StatReport" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/StatReport" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -158145,8 +315561,27 @@ "description": "Internal server error" } }, - "description": "List available assistance statistics", + "description": "Delete a WebhookCategory", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -158207,11 +315642,10 @@ ] } }, - "\/Assistance\/Stat\/Ticket\/Global": { + "\/Setup\/QueuedWebhook\/{id}": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { @@ -158219,17 +315653,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" + "$ref": "#\/components\/schemas\/QueuedWebhook" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" + "$ref": "#\/components\/schemas\/QueuedWebhook" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" + "$ref": "#\/components\/schemas\/QueuedWebhook" } } } @@ -158250,29 +315684,17 @@ "description": "Internal server error" } }, - "description": "Get global assistance statistics", + "description": "Get an existing QueuedWebhook", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -158332,31 +315754,18 @@ ] } ] - } - }, - "\/Assistance\/Stat\/Change\/Global": { - "get": { + }, + "patch": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" + "$ref": "#\/components\/schemas\/QueuedWebhook" } } } @@ -158377,29 +315786,17 @@ "description": "Internal server error" } }, - "description": "Get global assistance statistics", + "description": "Update an existing QueuedWebhook", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -158452,6 +315849,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/QueuedWebhook" + } + } + } + }, "security": [ { "oauth": [ @@ -158459,34 +315865,14 @@ ] } ] - } - }, - "\/Assistance\/Stat\/Problem\/Global": { - "get": { + }, + "delete": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -158504,29 +315890,26 @@ "description": "Internal server error" } }, - "description": "Get global assistance statistics", + "description": "Delete a QueuedWebhook", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" + "type": "integer", + "pattern": "\\d+" + } }, { - "name": "date_end", - "description": "The end date of the statistics", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -158588,11 +315971,10 @@ ] } }, - "\/Assistance\/Stat\/Ticket\/Characteristics": { + "\/Setup\/OAuthClient\/{id}": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { @@ -158600,26 +315982,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } + "$ref": "#\/components\/schemas\/OAuthClient" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } + "$ref": "#\/components\/schemas\/OAuthClient" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } + "$ref": "#\/components\/schemas\/OAuthClient" } } } @@ -158640,40 +316013,17 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics", + "description": "Get an existing OAuthClient", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", + "name": "id", + "description": "", + "in": "path", "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -158733,40 +316083,18 @@ ] } ] - } - }, - "\/Assistance\/Stat\/Change\/Characteristics": { - "get": { + }, + "patch": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } + "$ref": "#\/components\/schemas\/OAuthClient" } } } @@ -158787,40 +316115,17 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics", + "description": "Update an existing OAuthClient", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", + "name": "id", + "description": "", + "in": "path", "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -158873,6 +316178,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/OAuthClient" + } + } + } + }, "security": [ { "oauth": [ @@ -158880,43 +316194,14 @@ ] } ] - } - }, - "\/Assistance\/Stat\/Problem\/Characteristics": { - "get": { + }, + "delete": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -158934,40 +316219,26 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics", + "description": "Delete a OAuthClient", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" + "type": "integer", + "pattern": "\\d+" + } }, { - "name": "field", - "description": "The field to group the statistics by", + "name": "force", "in": "query", - "required": true, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -159029,15 +316300,31 @@ ] } }, - "\/Assistance\/Stat\/Ticket\/Characteristics\/Export": { - "get": { + "\/Setup\/Config\/{context}\/{name}": { + "patch": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "Success" + "description": "The updated Config", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Config" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Config" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Config" + } + } + } }, "400": { "description": "Bad request" @@ -159055,57 +316342,27 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics", + "description": "Update an existing Config", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", + "name": "context", + "description": "", + "in": "path", "required": true, "schema": { "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\w+" + } }, { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, + "name": "name", + "description": "", + "in": "path", + "required": true, "schema": { "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null + "pattern": "\\w+" + } }, { "name": "GLPI-Entity", @@ -159157,7 +316414,16 @@ } } } - ], + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Config" + } + } + } + }, "security": [ { "oauth": [ @@ -159165,17 +316431,31 @@ ] } ] - } - }, - "\/Assistance\/Stat\/Change\/Characteristics\/Export": { + }, "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Config" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Config" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Config" + } + } + } }, "400": { "description": "Bad request" @@ -159193,57 +316473,27 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics", + "description": "Get an existing Config", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", + "name": "context", + "description": "", + "in": "path", "required": true, "schema": { "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\w+" + } }, { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, + "name": "name", + "description": "", + "in": "path", + "required": true, "schema": { "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null + "pattern": "\\w+" + } }, { "name": "GLPI-Entity", @@ -159303,17 +316553,14 @@ ] } ] - } - }, - "\/Assistance\/Stat\/Problem\/Characteristics\/Export": { - "get": { + }, + "delete": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "Success" + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -159331,57 +316578,36 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics", + "description": "Delete a Config", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, + "name": "context", + "description": "", + "in": "path", + "required": true, "schema": { "type": "string", - "format": "date" - }, - "example": "2024-01-30" + "pattern": "\\w+" + } }, { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", + "name": "name", + "description": "", + "in": "path", "required": true, "schema": { "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\w+" + } }, { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -159443,11 +316669,10 @@ ] } }, - "\/Assistance\/Stat\/Ticket\/Asset": { + "\/Setup\/Config": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { @@ -159457,7 +316682,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/AssetStats" + "$ref": "#\/components\/schemas\/Config" } } }, @@ -159465,7 +316690,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/AssetStats" + "$ref": "#\/components\/schemas\/Config" } } }, @@ -159473,7 +316698,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/AssetStats" + "$ref": "#\/components\/schemas\/Config" } } } @@ -159495,29 +316720,53 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics by asset", + "description": "List or search for Configs", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", + "name": "filter", + "description": "RSQL query string", "in": "query", "required": false, "schema": { "type": "string", - "format": "date" + "format": "string" }, - "example": "2024-01-30" + "example": null }, { - "name": "date_end", - "description": "The end date of the statistics", + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", "required": false, "schema": { "type": "string", - "format": "date" + "format": "string" }, - "example": "2024-01-30" + "example": null }, { "name": "GLPI-Entity", @@ -159579,11 +316828,10 @@ ] } }, - "\/Assistance\/Stat\/Change\/Asset": { + "\/Setup\/Config\/{context}": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { @@ -159593,7 +316841,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/AssetStats" + "$ref": "#\/components\/schemas\/Config" } } }, @@ -159601,7 +316849,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/AssetStats" + "$ref": "#\/components\/schemas\/Config" } } }, @@ -159609,7 +316857,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/AssetStats" + "$ref": "#\/components\/schemas\/Config" } } } @@ -159631,29 +316879,63 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics by asset", + "description": "List or search for Configs", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", + "name": "filter", + "description": "RSQL query string", "in": "query", "required": false, "schema": { "type": "string", - "format": "date" + "format": "string" }, - "example": "2024-01-30" + "example": null }, { - "name": "date_end", - "description": "The end date of the statistics", + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", "required": false, "schema": { "type": "string", - "format": "date" + "format": "string" }, - "example": "2024-01-30" + "example": null + }, + { + "name": "context", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "\\w+" + } }, { "name": "GLPI-Entity", @@ -159715,11 +316997,10 @@ ] } }, - "\/Assistance\/Stat\/Problem\/Asset": { + "\/Setup\/AutomaticAction\/{id}": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { @@ -159727,26 +317008,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } + "$ref": "#\/components\/schemas\/AutomaticAction" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } + "$ref": "#\/components\/schemas\/AutomaticAction" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } + "$ref": "#\/components\/schemas\/AutomaticAction" } } } @@ -159767,30 +317039,8 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics by asset", + "description": "Get an existing AutomaticAction", "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, { "name": "GLPI-Entity", "in": "header", @@ -159849,17 +317099,21 @@ ] } ] - } - }, - "\/Assistance\/Stat\/Ticket\/Asset\/Export": { - "get": { + }, + "patch": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "Success" + "description": "The updated AutomaticAction", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/AutomaticAction" + } + } + } }, "400": { "description": "Bad request" @@ -159877,46 +317131,17 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics by asset", + "description": "Update an existing AutomaticAction", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -159969,6 +317194,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/AutomaticAction" + } + } + } + }, "security": [ { "oauth": [ @@ -159978,15 +317212,40 @@ ] } }, - "\/Assistance\/Stat\/Change\/Asset\/Export": { + "\/Setup\/AutomaticAction\/{id}\/Log": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AutomaticActionLog" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AutomaticActionLog" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/AutomaticActionLog" + } + } + } + } }, "400": { "description": "Bad request" @@ -160004,44 +317263,51 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics by asset", + "description": "List or search for AutomaticActionLogs", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", + "name": "filter", + "description": "RSQL query string", "in": "query", "required": false, "schema": { "type": "string", - "format": "date" + "format": "string" }, - "example": "2024-01-30" + "example": null }, { - "name": "date_end", - "description": "The end date of the statistics", + "name": "start", + "description": "The first item to return", "in": "query", "required": false, "schema": { - "type": "string", - "format": "date" + "type": "integer", + "format": "int64", + "default": 0 }, - "example": "2024-01-30" + "example": null }, { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", "required": false, "schema": { "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] + "format": "string" }, "example": null }, @@ -160105,15 +317371,40 @@ ] } }, - "\/Assistance\/Stat\/Problem\/Asset\/Export": { + "\/Setup\/Plugin": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Plugin" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Plugin" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Plugin" + } + } + } + } }, "400": { "description": "Bad request" @@ -160131,44 +317422,51 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics by asset", + "description": "List or search for Plugins", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", + "name": "filter", + "description": "RSQL query string", "in": "query", "required": false, "schema": { "type": "string", - "format": "date" + "format": "string" }, - "example": "2024-01-30" + "example": null }, { - "name": "date_end", - "description": "The end date of the statistics", + "name": "start", + "description": "The first item to return", "in": "query", "required": false, "schema": { - "type": "string", - "format": "date" + "type": "integer", + "format": "int64", + "default": 0 }, - "example": "2024-01-30" + "example": null }, { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", "required": false, "schema": { "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] + "format": "string" }, "example": null }, @@ -160232,37 +317530,35 @@ ] } }, - "\/Assistance\/Stat\/Ticket\/AssetCharacteristics": { - "get": { + "\/Setup\/Plugin\/{id}\/Enable": { + "post": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -160284,40 +317580,17 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics by asset characteristics", + "description": "Enable a plugin", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The characteristic field to group the statistics by", - "in": "query", + "name": "id", + "description": "", + "in": "path", "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -160379,37 +317652,35 @@ ] } }, - "\/Assistance\/Stat\/Change\/AssetCharacteristics": { - "get": { + "\/Setup\/Plugin\/{id}\/Disable": { + "post": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -160431,40 +317702,17 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics by asset characteristics", + "description": "Disable a plugin", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The characteristic field to group the statistics by", - "in": "query", + "name": "id", + "description": "", + "in": "path", "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -160526,37 +317774,35 @@ ] } }, - "\/Assistance\/Stat\/Problem\/AssetCharacteristics": { - "get": { + "\/Setup\/Plugin\/{id}\/Install": { + "post": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -160578,40 +317824,17 @@ "description": "Internal server error" } }, - "description": "Get assistance statistics by asset characteristics", + "description": "Install a plugin", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The characteristic field to group the statistics by", - "in": "query", + "name": "id", + "description": "", + "in": "path", "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -160673,15 +317896,39 @@ ] } }, - "\/Assistance\/Stat\/Ticket\/AssetCharacteristics\/Export": { - "get": { + "\/Setup\/Plugin\/{id}\/Uninstall": { + "post": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "Success" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -160699,57 +317946,17 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics by asset characteristics", + "description": "Uninstall a plugin", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", + "name": "id", + "description": "", + "in": "path", "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -160811,15 +318018,39 @@ ] } }, - "\/Assistance\/Stat\/Change\/AssetCharacteristics\/Export": { - "get": { + "\/Setup\/Plugin\/{id}\/Clean": { + "post": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { - "200": { - "description": "Success" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -160837,57 +318068,17 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics by asset characteristics", + "description": "Clean a plugin (delete its metadata from the database)", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", + "name": "id", + "description": "", + "in": "path", "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -160949,15 +318140,40 @@ ] } }, - "\/Assistance\/Stat\/Problem\/AssetCharacteristics\/Export": { + "\/Setup\/NotImportedEmail": { "get": { "tags": [ - "Statistics", - "Assistance" + "Setup" ], "responses": { "200": { - "description": "Success" + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotImportedEmail" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotImportedEmail" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotImportedEmail" + } + } + } + } }, "400": { "description": "Bad request" @@ -160975,55 +318191,51 @@ "description": "Internal server error" } }, - "description": "Export assistance statistics by asset characteristics", + "description": "List or search for NotImportedEmails", "parameters": [ { - "name": "date_start", - "description": "The start date of the statistics", + "name": "filter", + "description": "RSQL query string", "in": "query", "required": false, "schema": { "type": "string", - "format": "date" + "format": "string" }, - "example": "2024-01-30" + "example": null }, { - "name": "date_end", - "description": "The end date of the statistics", + "name": "start", + "description": "The first item to return", "in": "query", "required": false, "schema": { - "type": "string", - "format": "date" + "type": "integer", + "format": "int64", + "default": 0 }, - "example": "2024-01-30" + "example": null }, { - "name": "field", - "description": "The field to group the statistics by", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "required": true, + "required": false, "schema": { - "type": "string", - "format": "string" + "type": "integer", + "format": "int64", + "default": 100 }, "example": null }, { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", "required": false, "schema": { "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] + "format": "string" }, "example": null }, @@ -161087,67 +318299,28 @@ ] } }, - "\/Rule\/Collection": { + "\/Setup\/NotImportedEmail\/{id}": { "get": { "tags": [ - "Rule" + "Setup" ], "responses": { "200": { - "description": "List of rule collections", + "description": "", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "format": "string" - }, - "rule_type": { - "type": "string", - "format": "string" - } - } - } + "$ref": "#\/components\/schemas\/NotImportedEmail" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "format": "string" - }, - "rule_type": { - "type": "string", - "format": "string" - } - } - } + "$ref": "#\/components\/schemas\/NotImportedEmail" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "format": "string" - }, - "rule_type": { - "type": "string", - "format": "string" - } - } - } + "$ref": "#\/components\/schemas\/NotImportedEmail" } } } @@ -161168,8 +318341,18 @@ "description": "Internal server error" } }, - "description": "List all rule collections", + "description": "Get an existing NotImportedEmail", "parameters": [ + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -161228,42 +318411,14 @@ ] } ] - } - }, - "\/Rule\/Collection\/{collection}\/CriteriaCondition": { - "get": { + }, + "delete": { "tags": [ - "Rule" + "Setup" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -161281,17 +318436,25 @@ "description": "Internal server error" } }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", + "description": "Delete a NotImportedEmail", "parameters": [ { - "name": "collection", - "description": "Rule Collection", + "name": "id", + "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "format": "string", - "pattern": "" + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" } }, { @@ -161354,36 +318517,35 @@ ] } }, - "\/Rule\/Collection\/{collection}\/CriteriaCriteria": { - "get": { + "\/Entity\/{items_id}\/Note": { + "post": { "tags": [ - "Rule" + "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -161405,17 +318567,16 @@ "description": "Internal server error" } }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", + "name": "items_id", + "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "format": "string", - "pattern": "" + "type": "integer", + "pattern": "\\d+" } }, { @@ -161469,6 +318630,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -161476,12 +318646,10 @@ ] } ] - } - }, - "\/Rule\/Collection\/{collection}\/ActionType": { + }, "get": { "tags": [ - "Rule" + "Notes" ], "responses": { "200": { @@ -161491,7 +318659,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RuleActionType" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -161499,7 +318667,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RuleActionType" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -161507,7 +318675,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RuleActionType" + "$ref": "#\/components\/schemas\/Note" } } } @@ -161529,17 +318697,62 @@ "description": "Internal server error" } }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "format": "string", - "pattern": "" + "type": "integer", + "pattern": "\\d+" } }, { @@ -161602,36 +318815,35 @@ ] } }, - "\/Rule\/Collection\/{collection}\/ActionField": { - "get": { + "\/Line\/{items_id}\/Note": { + "post": { "tags": [ - "Rule" + "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -161653,17 +318865,16 @@ "description": "Internal server error" } }, - "description": "List accepted \"field\" values for actions for rules in a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", + "name": "items_id", + "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "format": "string", - "pattern": "" + "type": "integer", + "pattern": "\\d+" } }, { @@ -161717,6 +318928,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -161724,12 +318944,10 @@ ] } ] - } - }, - "\/Rule\/Collection\/{collection}\/Rule": { + }, "get": { "tags": [ - "Rule" + "Notes" ], "responses": { "200": { @@ -161739,7 +318957,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Rule" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -161747,7 +318965,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Rule" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -161755,7 +318973,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Rule" + "$ref": "#\/components\/schemas\/Note" } } } @@ -161777,19 +318995,8 @@ "description": "Internal server error" } }, - "description": "List or search rules in a collection", + "description": "List or search for Notes", "parameters": [ - { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, { "name": "filter", "description": "RSQL query string", @@ -161836,6 +319043,16 @@ }, "example": null }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -161894,10 +319111,12 @@ ] } ] - }, + } + }, + "\/Peripheral\/{items_id}\/Note": { "post": { "tags": [ - "Rule" + "Notes" ], "responses": { "201": { @@ -161944,17 +319163,16 @@ "description": "Internal server error" } }, - "description": "Create a rule in a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", + "name": "items_id", + "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "format": "string", - "pattern": "" + "type": "integer", + "pattern": "\\d+" } }, { @@ -162012,7 +319230,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Rule" + "$ref": "#\/components\/schemas\/Note" } } } @@ -162024,12 +319242,10 @@ ] } ] - } - }, - "\/Rule\/Collection\/{collection}\/Rule\/{id}": { + }, "get": { "tags": [ - "Rule" + "Notes" ], "responses": { "200": { @@ -162037,17 +319253,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Rule" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Rule" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Rule" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } } } @@ -162068,21 +319293,56 @@ "description": "Internal server error" } }, - "description": "Get a rule from a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "format": "string", - "pattern": "" - } + "format": "string" + }, + "example": null }, { - "name": "id", + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", "description": "", "in": "path", "required": true, @@ -162149,28 +319409,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Cluster\/{items_id}\/Note": { + "post": { "tags": [ - "Rule" + "Notes" ], "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Rule" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Rule" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -162191,21 +319461,10 @@ "description": "Internal server error" } }, - "description": "Update a rule in a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -162269,7 +319528,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Rule" + "$ref": "#\/components\/schemas\/Note" } } } @@ -162282,13 +319541,39 @@ } ] }, - "delete": { + "get": { "tags": [ - "Rule" + "Notes" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + } }, "400": { "description": "Bad request" @@ -162306,36 +319591,62 @@ "description": "Internal server error" } }, - "description": "Delete a rule in a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "format": "string", - "pattern": "" - } + "format": "string" + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" } }, { @@ -162398,36 +319709,35 @@ ] } }, - "\/Rule\/Collection\/{collection}\/Rule\/{id}\/Criteria": { - "get": { + "\/Project\/{items_id}\/Note": { + "post": { "tags": [ - "Rule" + "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -162449,21 +319759,10 @@ "description": "Internal server error" } }, - "description": "Get criteria for a rule from a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -162523,6 +319822,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -162530,12 +319838,10 @@ ] } ] - } - }, - "\/Rule\/Collection\/{collection}\/Rule\/{rule_id}\/Criteria\/{id}": { + }, "get": { "tags": [ - "Rule" + "Notes" ], "responses": { "200": { @@ -162543,17 +319849,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } } } @@ -162574,32 +319889,56 @@ "description": "Internal server error" } }, - "description": "Get a specific criterion for a rule from a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "format": "string", - "pattern": "" - } + "format": "string" + }, + "example": null }, { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", "format": "int64", - "pattern": "\\d+" - } + "default": 0 + }, + "example": null }, { - "name": "id", + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", "description": "", "in": "path", "required": true, @@ -162666,28 +320005,38 @@ ] } ] - }, - "patch": { + } + }, + "\/DomainRecord\/{items_id}\/Note": { + "post": { "tags": [ - "Rule" + "Notes" ], "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -162708,32 +320057,10 @@ "description": "Internal server error" } }, - "description": "Update a criterion for a rule in a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -162797,7 +320124,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "$ref": "#\/components\/schemas\/Note" } } } @@ -162810,13 +320137,39 @@ } ] }, - "delete": { + "get": { "tags": [ - "Rule" + "Notes" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + } }, "400": { "description": "Bad request" @@ -162834,47 +320187,62 @@ "description": "Internal server error" } }, - "description": "Delete a criterion for a rule in a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "format": "string", - "pattern": "" - } + "format": "string" + }, + "example": null }, { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", "format": "int64", - "pattern": "\\d+" - } + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null }, { - "name": "force", + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" } }, { @@ -162937,36 +320305,35 @@ ] } }, - "\/Rule\/Collection\/{collection}\/Rule\/{id}\/Action": { - "get": { + "\/Enclosure\/{items_id}\/Note": { + "post": { "tags": [ - "Rule" + "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -162988,21 +320355,10 @@ "description": "Internal server error" } }, - "description": "Get actions for a rule from a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -163062,6 +320418,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -163069,12 +320434,10 @@ ] } ] - } - }, - "\/Rule\/Collection\/{collection}\/Rule\/{rule_id}\/Action\/{id}": { + }, "get": { "tags": [ - "Rule" + "Notes" ], "responses": { "200": { @@ -163082,17 +320445,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RuleAction" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/RuleAction" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/RuleAction" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } } } @@ -163113,32 +320485,56 @@ "description": "Internal server error" } }, - "description": "Get a specific action for a rule from a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "format": "string", - "pattern": "" - } + "format": "string" + }, + "example": null }, { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", "format": "int64", - "pattern": "\\d+" - } + "default": 0 + }, + "example": null }, { - "name": "id", + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", "description": "", "in": "path", "required": true, @@ -163205,28 +320601,38 @@ ] } ] - }, - "patch": { + } + }, + "\/DCRoom\/{items_id}\/Note": { + "post": { "tags": [ - "Rule" + "Notes" ], "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/RuleAction" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RuleAction" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -163247,32 +320653,10 @@ "description": "Internal server error" } }, - "description": "Update an action for a rule in a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -163336,7 +320720,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RuleAction" + "$ref": "#\/components\/schemas\/Note" } } } @@ -163349,13 +320733,39 @@ } ] }, - "delete": { + "get": { "tags": [ - "Rule" + "Notes" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + } }, "400": { "description": "Bad request" @@ -163373,47 +320783,62 @@ "description": "Internal server error" } }, - "description": "Delete an action for a rule in a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "format": "string", - "pattern": "" - } + "format": "string" + }, + "example": null }, { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", "format": "int64", - "pattern": "\\d+" - } + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null }, { - "name": "force", + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" } }, { @@ -163476,10 +320901,10 @@ ] } }, - "\/Rule\/Collection\/{collection}\/Rule\/{rule_id}\/Criteria": { + "\/Computer\/{items_id}\/Note": { "post": { "tags": [ - "Rule" + "Notes" ], "responses": { "201": { @@ -163526,27 +320951,15 @@ "description": "Internal server error" } }, - "description": "Create a criterion for a rule in a collection", + "description": "Create a new Note", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "rule_id", - "description": "Rule ID", + "name": "items_id", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int64", "pattern": "\\d+" } }, @@ -163605,7 +321018,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" + "$ref": "#\/components\/schemas\/Note" } } } @@ -163617,37 +321030,36 @@ ] } ] - } - }, - "\/Rule\/Collection\/{collection}\/Rule\/{rule_id}\/Action": { - "post": { + }, + "get": { "tags": [ - "Rule" + "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" } } } @@ -163669,27 +321081,61 @@ "description": "Internal server error" } }, - "description": "Create an action for a rule in a collection", + "description": "List or search for Notes", "parameters": [ { - "name": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "format": "string", - "pattern": "" - } + "format": "string" + }, + "example": null }, { - "name": "rule_id", - "description": "Rule ID", + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int64", "pattern": "\\d+" } }, @@ -163744,15 +321190,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, "security": [ { "oauth": [ @@ -163762,77 +321199,34 @@ ] } }, - "\/Tools\/": { - "get": { + "\/Printer\/{items_id}\/Note": { + "post": { "tags": [ - "Tools" + "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" } } } @@ -163855,8 +321249,18 @@ "description": "Internal server error" } }, - "description": "Get all available tool types", + "description": "Create a new Note", "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -163908,6 +321312,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -163915,12 +321328,10 @@ ] } ] - } - }, - "\/Tools\/Reminder": { + }, "get": { "tags": [ - "Tools" + "Notes" ], "responses": { "200": { @@ -163930,7 +321341,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Reminder" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -163938,7 +321349,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Reminder" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -163946,7 +321357,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Reminder" + "$ref": "#\/components\/schemas\/Note" } } } @@ -163968,7 +321379,7 @@ "description": "Internal server error" } }, - "description": "List or search for Reminders", + "description": "List or search for Notes", "parameters": [ { "name": "filter", @@ -164016,6 +321427,16 @@ }, "example": null }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -164074,10 +321495,12 @@ ] } ] - }, + } + }, + "\/Supplier\/{items_id}\/Note": { "post": { "tags": [ - "Tools" + "Notes" ], "responses": { "201": { @@ -164124,8 +321547,18 @@ "description": "Internal server error" } }, - "description": "Create a new Reminder", + "description": "Create a new Note", "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -164181,7 +321614,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Reminder" + "$ref": "#\/components\/schemas\/Note" } } } @@ -164193,12 +321626,10 @@ ] } ] - } - }, - "\/Tools\/RSSFeed": { + }, "get": { "tags": [ - "Tools" + "Notes" ], "responses": { "200": { @@ -164208,7 +321639,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RSSFeed" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -164216,7 +321647,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RSSFeed" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -164224,7 +321655,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/RSSFeed" + "$ref": "#\/components\/schemas\/Note" } } } @@ -164246,7 +321677,7 @@ "description": "Internal server error" } }, - "description": "List or search for RSSFeeds", + "description": "List or search for Notes", "parameters": [ { "name": "filter", @@ -164294,6 +321725,16 @@ }, "example": null }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -164352,10 +321793,12 @@ ] } ] - }, + } + }, + "\/SoftwareLicense\/{items_id}\/Note": { "post": { "tags": [ - "Tools" + "Notes" ], "responses": { "201": { @@ -164402,8 +321845,18 @@ "description": "Internal server error" } }, - "description": "Create a new RSSFeed", + "description": "Create a new Note", "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -164459,7 +321912,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" + "$ref": "#\/components\/schemas\/Note" } } } @@ -164471,12 +321924,10 @@ ] } ] - } - }, - "\/Tools\/Reminder\/{id}": { + }, "get": { "tags": [ - "Tools" + "Notes" ], "responses": { "200": { @@ -164484,17 +321935,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Reminder" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Reminder" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Reminder" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } } } @@ -164515,10 +321975,56 @@ "description": "Internal server error" } }, - "description": "Get an existing Reminder", + "description": "List or search for Notes", "parameters": [ { - "name": "id", + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", "description": "", "in": "path", "required": true, @@ -164585,18 +322091,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Certificate\/{items_id}\/Note": { + "post": { "tags": [ - "Tools" + "Notes" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Reminder" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -164617,10 +322143,10 @@ "description": "Internal server error" } }, - "description": "Update an existing Reminder", + "description": "Create a new Note", "parameters": [ { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -164684,7 +322210,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Reminder" + "$ref": "#\/components\/schemas\/Note" } } } @@ -164697,115 +322223,9 @@ } ] }, - "delete": { - "tags": [ - "Tools" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Reminder", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Tools\/RSSFeed\/{id}": { "get": { "tags": [ - "Tools" + "Notes" ], "responses": { "200": { @@ -164813,17 +322233,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } } } @@ -164844,10 +322273,56 @@ "description": "Internal server error" } }, - "description": "Get an existing RSSFeed", + "description": "List or search for Notes", "parameters": [ { - "name": "id", + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", "description": "", "in": "path", "required": true, @@ -164914,18 +322389,38 @@ ] } ] - }, - "patch": { + } + }, + "\/ConsumableItem\/{items_id}\/Note": { + "post": { "tags": [ - "Tools" + "Notes" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -164946,10 +322441,10 @@ "description": "Internal server error" } }, - "description": "Update an existing RSSFeed", + "description": "Create a new Note", "parameters": [ { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -165013,7 +322508,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" + "$ref": "#\/components\/schemas\/Note" } } } @@ -165026,13 +322521,39 @@ } ] }, - "delete": { + "get": { "tags": [ - "Tools" + "Notes" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + } }, "400": { "description": "Bad request" @@ -165050,25 +322571,62 @@ "description": "Internal server error" } }, - "description": "Delete a RSSFeed", + "description": "List or search for Notes", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" } }, { @@ -165131,77 +322689,34 @@ ] } }, - "\/Setup\/": { - "get": { + "\/Budget\/{items_id}\/Note": { + "post": { "tags": [ - "Setup" + "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" } } } @@ -165224,8 +322739,18 @@ "description": "Internal server error" } }, - "description": "Get all available setup types", + "description": "Create a new Note", "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -165277,6 +322802,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -165284,12 +322818,10 @@ ] } ] - } - }, - "\/Setup\/LDAPDirectory": { + }, "get": { "tags": [ - "Setup" + "Notes" ], "responses": { "200": { @@ -165299,7 +322831,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -165307,7 +322839,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -165315,7 +322847,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "$ref": "#\/components\/schemas\/Note" } } } @@ -165337,7 +322869,7 @@ "description": "Internal server error" } }, - "description": "List or search for LDAPDirectorys", + "description": "List or search for Notes", "parameters": [ { "name": "filter", @@ -165385,6 +322917,16 @@ }, "example": null }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -165443,10 +322985,12 @@ ] } ] - }, + } + }, + "\/CartridgeItem\/{items_id}\/Note": { "post": { "tags": [ - "Setup" + "Notes" ], "responses": { "201": { @@ -165493,8 +323037,18 @@ "description": "Internal server error" } }, - "description": "Create a new LDAPDirectory", + "description": "Create a new Note", "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -165550,7 +323104,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "$ref": "#\/components\/schemas\/Note" } } } @@ -165562,12 +323116,10 @@ ] } ] - } - }, - "\/Setup\/LDAPDirectory\/{id}": { + }, "get": { "tags": [ - "Setup" + "Notes" ], "responses": { "200": { @@ -165575,17 +323127,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } } } @@ -165606,10 +323167,56 @@ "description": "Internal server error" } }, - "description": "Get an existing LDAPDirectory", + "description": "List or search for Notes", "parameters": [ { - "name": "id", + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", "description": "", "in": "path", "required": true, @@ -165676,18 +323283,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Rack\/{items_id}\/Note": { + "post": { "tags": [ - "Setup" + "Notes" ], "responses": { - "200": { - "description": "The updated {itemtype}", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -165708,10 +323335,10 @@ "description": "Internal server error" } }, - "description": "Update an existing LDAPDirectory", + "description": "Create a new Note", "parameters": [ { - "name": "id", + "name": "items_id", "description": "", "in": "path", "required": true, @@ -165775,7 +323402,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" + "$ref": "#\/components\/schemas\/Note" } } } @@ -165788,13 +323415,39 @@ } ] }, - "delete": { + "get": { "tags": [ - "Setup" + "Notes" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + } }, "400": { "description": "Bad request" @@ -165812,25 +323465,62 @@ "description": "Internal server error" } }, - "description": "Delete a LDAPDirectory", + "description": "List or search for Notes", "parameters": [ { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" } }, { @@ -165893,28 +323583,36 @@ ] } }, - "\/Setup\/Config\/{context}\/{name}": { - "patch": { + "\/Phone\/{items_id}\/Note": { + "post": { "tags": [ - "Setup" + "Notes" ], "responses": { - "200": { - "description": "The updated Config", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "$ref": "#\/components\/schemas\/Config" + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Config" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -165935,26 +323633,16 @@ "description": "Internal server error" } }, - "description": "Update an existing Config", + "description": "Create a new Note", "parameters": [ { - "name": "context", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "name", + "name": "items_id", "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "\\w+" + "type": "integer", + "pattern": "\\d+" } }, { @@ -166012,7 +323700,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Config" + "$ref": "#\/components\/schemas\/Note" } } } @@ -166027,7 +323715,7 @@ }, "get": { "tags": [ - "Setup" + "Notes" ], "responses": { "200": { @@ -166035,17 +323723,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Config" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/Config" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/Config" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Note" + } } } } @@ -166066,26 +323763,62 @@ "description": "Internal server error" } }, - "description": "Get an existing Config", + "description": "List or search for Notes", "parameters": [ { - "name": "context", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, "schema": { "type": "string", - "pattern": "\\w+" - } + "format": "string" + }, + "example": null }, { - "name": "name", + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "items_id", "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "\\w+" + "type": "integer", + "pattern": "\\d+" } }, { @@ -166146,14 +323879,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Change\/{items_id}\/Note": { + "post": { "tags": [ - "Setup" + "Notes" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -166171,35 +323931,16 @@ "description": "Internal server error" } }, - "description": "Delete a Config", + "description": "Create a new Note", "parameters": [ { - "name": "context", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "name", + "name": "items_id", "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" + "type": "integer", + "pattern": "\\d+" } }, { @@ -166253,6 +323994,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -166260,12 +324010,10 @@ ] } ] - } - }, - "\/Setup\/Config": { + }, "get": { "tags": [ - "Setup" + "Notes" ], "responses": { "200": { @@ -166275,7 +324023,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Config" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -166283,7 +324031,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Config" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -166291,7 +324039,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Config" + "$ref": "#\/components\/schemas\/Note" } } } @@ -166313,7 +324061,7 @@ "description": "Internal server error" } }, - "description": "List or search for Configs", + "description": "List or search for Notes", "parameters": [ { "name": "filter", @@ -166361,6 +324109,16 @@ }, "example": null }, + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -166421,10 +324179,139 @@ ] } }, - "\/Setup\/Config\/{context}": { + "\/NetworkEquipment\/{items_id}\/Note": { + "post": { + "tags": [ + "Notes" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new Note", + "parameters": [ + { + "name": "items_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, "get": { "tags": [ - "Setup" + "Notes" ], "responses": { "200": { @@ -166434,7 +324321,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Config" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -166442,7 +324329,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Config" + "$ref": "#\/components\/schemas\/Note" } } }, @@ -166450,7 +324337,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/Config" + "$ref": "#\/components\/schemas\/Note" } } } @@ -166472,7 +324359,7 @@ "description": "Internal server error" } }, - "description": "List or search for Configs", + "description": "List or search for Notes", "parameters": [ { "name": "filter", @@ -166521,13 +324408,13 @@ "example": null }, { - "name": "context", + "name": "items_id", "description": "", "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "\\w+" + "type": "integer", + "pattern": "\\d+" } }, { @@ -166590,7 +324477,7 @@ ] } }, - "\/Entity\/{items_id}\/Note": { + "\/Appliance\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -166888,7 +324775,7 @@ ] } }, - "\/Line\/{items_id}\/Note": { + "\/Problem\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -167186,7 +325073,7 @@ ] } }, - "\/Peripheral\/{items_id}\/Note": { + "\/Database\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -167484,7 +325371,7 @@ ] } }, - "\/Cluster\/{items_id}\/Note": { + "\/Contact\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -167782,7 +325669,7 @@ ] } }, - "\/Project\/{items_id}\/Note": { + "\/Domain\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -168080,7 +325967,7 @@ ] } }, - "\/DomainRecord\/{items_id}\/Note": { + "\/Software\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -168378,7 +326265,7 @@ ] } }, - "\/Enclosure\/{items_id}\/Note": { + "\/ProjectTask\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -168676,7 +326563,7 @@ ] } }, - "\/DCRoom\/{items_id}\/Note": { + "\/DatabaseInstance\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -168974,7 +326861,7 @@ ] } }, - "\/Computer\/{items_id}\/Note": { + "\/Group\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -169272,7 +327159,7 @@ ] } }, - "\/Printer\/{items_id}\/Note": { + "\/Monitor\/{items_id}\/Note": { "post": { "tags": [ "Notes" @@ -169570,36 +327457,18 @@ ] } }, - "\/Supplier\/{items_id}\/Note": { - "post": { + "\/Entity\/{items_id}\/Note\/{id}": { + "get": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -169620,7 +327489,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Get an existing Note", "parameters": [ { "name": "items_id", @@ -169632,6 +327501,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -169683,15 +327562,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -169700,36 +327570,17 @@ } ] }, - "get": { + "patch": { "tags": [ "Notes" ], "responses": { "200": { - "description": "", + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -169750,56 +327601,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Update an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -169859,6 +327674,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -169866,41 +327690,14 @@ ] } ] - } - }, - "\/SoftwareLicense\/{items_id}\/Note": { - "post": { + }, + "delete": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -169918,7 +327715,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Delete a Note", "parameters": [ { "name": "items_id", @@ -169930,6 +327727,25 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -169981,15 +327797,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -169997,7 +327804,9 @@ ] } ] - }, + } + }, + "\/Line\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -170008,26 +327817,7 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -170048,56 +327838,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Get an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -170164,38 +327918,18 @@ ] } ] - } - }, - "\/Certificate\/{items_id}\/Note": { - "post": { + }, + "patch": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -170216,7 +327950,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Update an existing Note", "parameters": [ { "name": "items_id", @@ -170228,6 +327962,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -170296,39 +328040,13 @@ } ] }, - "get": { + "delete": { "tags": [ "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -170346,54 +328064,131 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Delete a Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "boolean" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + } + }, + "\/Peripheral\/{items_id}\/Note\/{id}": { + "get": { + "tags": [ + "Notes" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Get an existing Note", + "parameters": [ { "name": "items_id", "description": "", @@ -170404,6 +328199,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -170462,38 +328267,18 @@ ] } ] - } - }, - "\/ConsumableItem\/{items_id}\/Note": { - "post": { + }, + "patch": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -170514,7 +328299,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Update an existing Note", "parameters": [ { "name": "items_id", @@ -170526,6 +328311,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -170594,39 +328389,13 @@ } ] }, - "get": { + "delete": { "tags": [ "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -170644,56 +328413,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Delete a Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -170702,6 +328435,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -170762,36 +328504,18 @@ ] } }, - "\/Budget\/{items_id}\/Note": { - "post": { + "\/Cluster\/{items_id}\/Note\/{id}": { + "get": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -170812,7 +328536,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Get an existing Note", "parameters": [ { "name": "items_id", @@ -170824,6 +328548,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -170875,15 +328609,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -170892,36 +328617,17 @@ } ] }, - "get": { + "patch": { "tags": [ "Notes" ], "responses": { "200": { - "description": "", + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -170942,56 +328648,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Update an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -171051,6 +328721,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -171058,41 +328737,14 @@ ] } ] - } - }, - "\/CartridgeItem\/{items_id}\/Note": { - "post": { + }, + "delete": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -171110,7 +328762,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Delete a Note", "parameters": [ { "name": "items_id", @@ -171122,6 +328774,25 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -171173,15 +328844,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -171189,7 +328851,9 @@ ] } ] - }, + } + }, + "\/Project\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -171200,26 +328864,7 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -171240,56 +328885,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Get an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -171356,38 +328965,18 @@ ] } ] - } - }, - "\/Rack\/{items_id}\/Note": { - "post": { + }, + "patch": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -171408,7 +328997,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Update an existing Note", "parameters": [ { "name": "items_id", @@ -171420,6 +329009,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -171488,39 +329087,13 @@ } ] }, - "get": { + "delete": { "tags": [ "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -171538,56 +329111,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Delete a Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -171596,6 +329133,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -171656,36 +329202,18 @@ ] } }, - "\/Phone\/{items_id}\/Note": { - "post": { + "\/DomainRecord\/{items_id}\/Note\/{id}": { + "get": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -171706,7 +329234,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Get an existing Note", "parameters": [ { "name": "items_id", @@ -171718,6 +329246,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -171769,15 +329307,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -171786,36 +329315,17 @@ } ] }, - "get": { + "patch": { "tags": [ "Notes" ], "responses": { "200": { - "description": "", + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -171836,56 +329346,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Update an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -171945,6 +329419,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -171952,41 +329435,14 @@ ] } ] - } - }, - "\/Change\/{items_id}\/Note": { - "post": { + }, + "delete": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -172004,7 +329460,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Delete a Note", "parameters": [ { "name": "items_id", @@ -172016,6 +329472,25 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -172067,15 +329542,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -172083,7 +329549,9 @@ ] } ] - }, + } + }, + "\/Enclosure\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -172094,26 +329562,7 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -172134,56 +329583,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Get an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -172250,38 +329663,18 @@ ] } ] - } - }, - "\/NetworkEquipment\/{items_id}\/Note": { - "post": { + }, + "patch": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -172302,7 +329695,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Update an existing Note", "parameters": [ { "name": "items_id", @@ -172314,6 +329707,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -172382,39 +329785,13 @@ } ] }, - "get": { + "delete": { "tags": [ "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -172432,56 +329809,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Delete a Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -172490,6 +329831,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -172550,36 +329900,18 @@ ] } }, - "\/Appliance\/{items_id}\/Note": { - "post": { + "\/DCRoom\/{items_id}\/Note\/{id}": { + "get": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -172600,7 +329932,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Get an existing Note", "parameters": [ { "name": "items_id", @@ -172612,6 +329944,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -172663,15 +330005,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -172680,36 +330013,17 @@ } ] }, - "get": { + "patch": { "tags": [ "Notes" ], "responses": { "200": { - "description": "", + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -172730,56 +330044,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Update an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -172839,6 +330117,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -172846,41 +330133,14 @@ ] } ] - } - }, - "\/Problem\/{items_id}\/Note": { - "post": { + }, + "delete": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -172898,7 +330158,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Delete a Note", "parameters": [ { "name": "items_id", @@ -172910,6 +330170,25 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -172961,15 +330240,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -172977,37 +330247,20 @@ ] } ] - }, + } + }, + "\/Computer\/{items_id}\/Note\/{id}": { "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { + "tags": [ + "Notes" + ], + "responses": { + "200": { + "description": "", + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -173028,56 +330281,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Get an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -173144,38 +330361,18 @@ ] } ] - } - }, - "\/Database\/{items_id}\/Note": { - "post": { + }, + "patch": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -173196,7 +330393,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Update an existing Note", "parameters": [ { "name": "items_id", @@ -173208,6 +330405,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -173276,39 +330483,13 @@ } ] }, - "get": { + "delete": { "tags": [ "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -173326,56 +330507,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Delete a Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -173384,6 +330529,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -173444,36 +330598,18 @@ ] } }, - "\/Contact\/{items_id}\/Note": { - "post": { + "\/Printer\/{items_id}\/Note\/{id}": { + "get": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -173494,7 +330630,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Get an existing Note", "parameters": [ { "name": "items_id", @@ -173506,6 +330642,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -173557,15 +330703,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -173574,36 +330711,17 @@ } ] }, - "get": { + "patch": { "tags": [ "Notes" ], "responses": { "200": { - "description": "", + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -173624,56 +330742,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Update an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -173733,6 +330815,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -173740,41 +330831,14 @@ ] } ] - } - }, - "\/Domain\/{items_id}\/Note": { - "post": { + }, + "delete": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -173792,7 +330856,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Delete a Note", "parameters": [ { "name": "items_id", @@ -173804,6 +330868,25 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -173855,15 +330938,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -173871,7 +330945,9 @@ ] } ] - }, + } + }, + "\/Supplier\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -173882,26 +330958,7 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -173922,56 +330979,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Get an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -174038,38 +331059,18 @@ ] } ] - } - }, - "\/Software\/{items_id}\/Note": { - "post": { + }, + "patch": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -174090,7 +331091,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Update an existing Note", "parameters": [ { "name": "items_id", @@ -174102,6 +331103,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -174170,39 +331181,13 @@ } ] }, - "get": { + "delete": { "tags": [ "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -174220,56 +331205,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Delete a Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -174278,6 +331227,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -174338,36 +331296,18 @@ ] } }, - "\/ProjectTask\/{items_id}\/Note": { - "post": { + "\/SoftwareLicense\/{items_id}\/Note\/{id}": { + "get": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -174388,7 +331328,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Get an existing Note", "parameters": [ { "name": "items_id", @@ -174400,6 +331340,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -174451,15 +331401,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -174468,36 +331409,17 @@ } ] }, - "get": { + "patch": { "tags": [ "Notes" ], "responses": { "200": { - "description": "", + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -174518,56 +331440,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Update an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -174627,6 +331513,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, "security": [ { "oauth": [ @@ -174634,41 +331529,14 @@ ] } ] - } - }, - "\/DatabaseInstance\/{items_id}\/Note": { - "post": { + }, + "delete": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -174686,7 +331554,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Delete a Note", "parameters": [ { "name": "items_id", @@ -174698,6 +331566,25 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -174749,15 +331636,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -174765,7 +331643,9 @@ ] } ] - }, + } + }, + "\/Certificate\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -174776,26 +331656,7 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -174816,56 +331677,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Get an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -174932,38 +331757,18 @@ ] } ] - } - }, - "\/Group\/{items_id}\/Note": { - "post": { + }, + "patch": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -174984,7 +331789,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Update an existing Note", "parameters": [ { "name": "items_id", @@ -174996,6 +331801,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -175064,39 +331879,13 @@ } ] }, - "get": { + "delete": { "tags": [ "Notes" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -175114,56 +331903,20 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Delete a Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, @@ -175172,6 +331925,15 @@ "pattern": "\\d+" } }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -175232,36 +331994,18 @@ ] } }, - "\/Monitor\/{items_id}\/Note": { - "post": { + "\/ConsumableItem\/{items_id}\/Note\/{id}": { + "get": { "tags": [ "Notes" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -175282,7 +332026,7 @@ "description": "Internal server error" } }, - "description": "Create a new Note", + "description": "Get an existing Note", "parameters": [ { "name": "items_id", @@ -175294,6 +332038,16 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -175345,15 +332099,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -175362,36 +332107,17 @@ } ] }, - "get": { + "patch": { "tags": [ "Notes" ], "responses": { "200": { - "description": "", + "description": "The updated Note", "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } + "$ref": "#\/components\/schemas\/Note" } } } @@ -175412,54 +332138,122 @@ "description": "Internal server error" } }, - "description": "List or search for Notes", + "description": "Update an existing Note", "parameters": [ { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, + "name": "items_id", + "description": "", + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, + "name": "id", + "description": "", + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "type": "integer" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", "schema": { "type": "string", - "format": "string" + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" }, - "example": null + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Note" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Notes" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Note", + "parameters": [ { "name": "items_id", "description": "", @@ -175470,6 +332264,25 @@ "pattern": "\\d+" } }, + { + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -175530,7 +332343,7 @@ ] } }, - "\/Entity\/{items_id}\/Note\/{id}": { + "\/Budget\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -175879,7 +332692,7 @@ ] } }, - "\/Line\/{items_id}\/Note\/{id}": { + "\/CartridgeItem\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -176228,7 +333041,7 @@ ] } }, - "\/Peripheral\/{items_id}\/Note\/{id}": { + "\/Rack\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -176577,7 +333390,7 @@ ] } }, - "\/Cluster\/{items_id}\/Note\/{id}": { + "\/Phone\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -176926,7 +333739,7 @@ ] } }, - "\/Project\/{items_id}\/Note\/{id}": { + "\/Change\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -177275,7 +334088,7 @@ ] } }, - "\/DomainRecord\/{items_id}\/Note\/{id}": { + "\/NetworkEquipment\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -177624,7 +334437,7 @@ ] } }, - "\/Enclosure\/{items_id}\/Note\/{id}": { + "\/Appliance\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -177973,7 +334786,7 @@ ] } }, - "\/DCRoom\/{items_id}\/Note\/{id}": { + "\/Problem\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -178322,7 +335135,7 @@ ] } }, - "\/Computer\/{items_id}\/Note\/{id}": { + "\/Database\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -178671,7 +335484,7 @@ ] } }, - "\/Printer\/{items_id}\/Note\/{id}": { + "\/Contact\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -179020,7 +335833,7 @@ ] } }, - "\/Supplier\/{items_id}\/Note\/{id}": { + "\/Domain\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -179369,7 +336182,7 @@ ] } }, - "\/SoftwareLicense\/{items_id}\/Note\/{id}": { + "\/Software\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -179718,7 +336531,7 @@ ] } }, - "\/Certificate\/{items_id}\/Note\/{id}": { + "\/ProjectTask\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -180067,7 +336880,7 @@ ] } }, - "\/ConsumableItem\/{items_id}\/Note\/{id}": { + "\/DatabaseInstance\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -180416,7 +337229,7 @@ ] } }, - "\/Budget\/{items_id}\/Note\/{id}": { + "\/Group\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -180765,7 +337578,7 @@ ] } }, - "\/CartridgeItem\/{items_id}\/Note\/{id}": { + "\/Monitor\/{items_id}\/Note\/{id}": { "get": { "tags": [ "Notes" @@ -181114,18 +337927,36 @@ ] } }, - "\/Rack\/{items_id}\/Note\/{id}": { - "get": { + "\/Knowledgebase\/Article": { + "post": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "200": { - "description": "", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -181146,27 +337977,18 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Create a new KBArticle", "parameters": [ { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -181219,6 +338041,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle" + } + } + } + }, "security": [ { "oauth": [ @@ -181227,17 +338058,36 @@ } ] }, - "patch": { + "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { - "description": "The updated Note", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticle" + } } } } @@ -181258,27 +338108,64 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "List or search for KBArticles", "parameters": [ { - "name": "items_id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -181331,15 +338218,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -181347,14 +338225,33 @@ ] } ] - }, - "delete": { + } + }, + "\/Knowledgebase\/Article\/{article_id}": { + "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle" + } + } + } }, "400": { "description": "Bad request" @@ -181372,36 +338269,29 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Get an existing KBArticle", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -181461,20 +338351,18 @@ ] } ] - } - }, - "\/Phone\/{items_id}\/Note\/{id}": { - "get": { + }, + "patch": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { - "description": "", + "description": "The updated KBArticle", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBArticle" } } } @@ -181495,27 +338383,29 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Update an existing KBArticle", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -181568,6 +338458,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticle" + } + } + } + }, "security": [ { "oauth": [ @@ -181576,20 +338475,13 @@ } ] }, - "patch": { + "delete": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -181607,26 +338499,37 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Delete a KBArticle", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" } }, { @@ -181680,15 +338583,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -181696,14 +338590,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Knowledgebase\/Category": { + "post": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -181721,36 +338642,18 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Create a new KBCategory", "parameters": [ { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -181803,6 +338706,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBCategory" + } + } + } + }, "security": [ { "oauth": [ @@ -181810,12 +338722,10 @@ ] } ] - } - }, - "\/Change\/{items_id}\/Note\/{id}": { + }, "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { @@ -181823,7 +338733,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBCategory" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBCategory" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBCategory" + } } } } @@ -181844,27 +338773,64 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "List or search for KBCategories", "parameters": [ { - "name": "items_id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -181924,18 +338890,30 @@ ] } ] - }, - "patch": { + } + }, + "\/Knowledgebase\/Category\/{id}": { + "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { - "description": "The updated Note", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBCategory" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBCategory" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBCategory" } } } @@ -181956,27 +338934,29 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Get an existing KBCategory", "parameters": [ { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -182029,15 +339009,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -182046,13 +339017,20 @@ } ] }, - "delete": { + "patch": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "The updated KBCategory", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBCategory" + } + } + } }, "400": { "description": "Bad request" @@ -182070,18 +339048,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Update an existing KBCategory", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -182089,17 +339057,20 @@ "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "force", + "name": "language", + "description": "", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -182152,6 +339123,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/KBCategory" + } + } + } + }, "security": [ { "oauth": [ @@ -182159,23 +339139,14 @@ ] } ] - } - }, - "\/NetworkEquipment\/{items_id}\/Note\/{id}": { - "get": { + }, + "delete": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -182193,26 +339164,37 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Delete a KBCategory", "parameters": [ { - "name": "items_id", + "name": "id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" } }, { @@ -182273,18 +339255,38 @@ ] } ] - }, - "patch": { + } + }, + "\/Knowledgebase\/Article\/{article_id}\/Comment": { + "post": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "200": { - "description": "The updated Note", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -182305,27 +339307,29 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Create a new KBArticleComment", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -182382,7 +339386,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBArticleComment" } } } @@ -182395,13 +339399,39 @@ } ] }, - "delete": { + "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleComment" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleComment" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleComment" + } + } + } + } }, "400": { "description": "Bad request" @@ -182419,36 +339449,75 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "List or search for KBArticleComments", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -182510,10 +339579,10 @@ ] } }, - "\/Appliance\/{items_id}\/Note\/{id}": { + "\/Knowledgebase\/Article\/{article_id}\/Comment\/{id}": { "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { @@ -182521,7 +339590,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBArticleComment" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticleComment" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticleComment" } } } @@ -182542,15 +339621,16 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Get an existing KBArticleComment", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -182561,9 +339641,21 @@ "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "language", + "description": "", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -182625,15 +339717,15 @@ }, "patch": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { - "description": "The updated Note", + "description": "The updated KBArticleComment", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBArticleComment" } } } @@ -182654,15 +339746,16 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Update an existing KBArticleComment", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -182673,9 +339766,21 @@ "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "language", + "description": "", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, { "name": "GLPI-Entity", "in": "header", @@ -182731,7 +339836,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBArticleComment" } } } @@ -182746,7 +339851,7 @@ }, "delete": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "204": { @@ -182768,15 +339873,16 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Delete a KBArticleComment", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, @@ -182787,9 +339893,21 @@ "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, + { + "name": "language", + "description": "", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, { "name": "force", "in": "query", @@ -182859,10 +339977,10 @@ ] } }, - "\/Problem\/{items_id}\/Note\/{id}": { + "\/Knowledgebase\/Article\/{article_id}\/Revision": { "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { @@ -182870,7 +339988,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } } } } @@ -182891,27 +340028,75 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "List or search for KBArticleRevisions", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null + }, + { + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -182971,18 +340156,30 @@ ] } ] - }, - "patch": { + } + }, + "\/Knowledgebase\/Article\/{article_id}\/Revision\/{revision}": { + "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { - "description": "The updated Note", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticleRevision" } } } @@ -183003,27 +340200,29 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Get an existing KBArticleRevision", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -183076,15 +340275,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -183092,14 +340282,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Knowledgebase\/Article\/{article_id}\/{language}\/Revision": { + "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + } + } + } }, "400": { "description": "Bad request" @@ -183117,36 +340335,75 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "List or search for KBArticleRevisions", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "force", + "name": "limit", + "description": "The maximum number of items to return", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -183208,10 +340465,10 @@ ] } }, - "\/Database\/{items_id}\/Note\/{id}": { + "\/Knowledgebase\/Article\/{article_id}\/{language}\/Revision\/{revision}": { "get": { "tags": [ - "Notes" + "Knowledgebase" ], "responses": { "200": { @@ -183219,7 +340476,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticleRevision" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/KBArticleRevision" } } } @@ -183240,27 +340507,29 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Get an existing KBArticleRevision", "parameters": [ { - "name": "items_id", + "name": "article_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", + "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "language", "description": "", - "in": "path", - "required": true, + "in": "query", + "required": false, "schema": { - "type": "integer", - "pattern": "\\d+" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -183320,18 +340589,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Inventory\/Agent": { + "get": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { - "description": "The updated Note", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Agent" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Agent" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Agent" + } } } } @@ -183352,27 +340642,53 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "List or search for Agents", "parameters": [ { - "name": "items_id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -183425,15 +340741,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -183441,14 +340748,42 @@ ] } ] - }, - "delete": { + } + }, + "\/Inventory\/LockedField": { + "get": { "tags": [ - "Notes" + "Inventory" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LockedField" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LockedField" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/LockedField" + } + } + } + } }, "400": { "description": "Bad request" @@ -183466,36 +340801,53 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "List or search for LockedFields", "parameters": [ { - "name": "items_id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null }, { - "name": "force", + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "required": false, "schema": { - "type": "boolean" - } + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -183555,20 +340907,36 @@ ] } ] - } - }, - "\/Contact\/{items_id}\/Note\/{id}": { - "get": { + }, + "post": { "tags": [ - "Notes" + "Inventory" ], "responses": { - "200": { - "description": "", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -183589,28 +340957,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Create a new LockedField", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -183662,6 +341010,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/LockedField" + } + } + } + }, "security": [ { "oauth": [ @@ -183669,18 +341026,39 @@ ] } ] - }, - "patch": { + } + }, + "\/Inventory\/SNMPCredential": { + "get": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { - "description": "The updated Note", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SNMPCredential" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SNMPCredential" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/SNMPCredential" + } } } } @@ -183701,27 +341079,53 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "List or search for SNMPCredentials", "parameters": [ { - "name": "items_id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -183774,15 +341178,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -183791,13 +341186,38 @@ } ] }, - "delete": { + "post": { "tags": [ - "Notes" + "Inventory" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -183815,37 +341235,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Create a new SNMPCredential", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -183897,6 +341288,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/SNMPCredential" + } + } + } + }, "security": [ { "oauth": [ @@ -183906,10 +341306,10 @@ ] } }, - "\/Domain\/{items_id}\/Note\/{id}": { + "\/Inventory\/Agent\/{id}": { "get": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { @@ -183917,7 +341317,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/Agent" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Agent" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Agent" } } } @@ -183938,18 +341348,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Get an existing Agent", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184021,15 +341421,15 @@ }, "patch": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { - "description": "The updated Note", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/Agent" } } } @@ -184050,18 +341450,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Update an existing Agent", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184127,7 +341517,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/Agent" } } } @@ -184142,7 +341532,7 @@ }, "delete": { "tags": [ - "Notes" + "Inventory" ], "responses": { "204": { @@ -184164,18 +341554,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Delete a Agent", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184255,10 +341635,10 @@ ] } }, - "\/Software\/{items_id}\/Note\/{id}": { + "\/Inventory\/LockedField\/{id}": { "get": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { @@ -184266,7 +341646,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/LockedField" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/LockedField" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/LockedField" } } } @@ -184287,18 +341677,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Get an existing LockedField", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184370,15 +341750,15 @@ }, "patch": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { - "description": "The updated Note", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/LockedField" } } } @@ -184399,18 +341779,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Update an existing LockedField", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184476,7 +341846,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/LockedField" } } } @@ -184491,7 +341861,7 @@ }, "delete": { "tags": [ - "Notes" + "Inventory" ], "responses": { "204": { @@ -184513,18 +341883,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Delete a LockedField", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184604,10 +341964,10 @@ ] } }, - "\/ProjectTask\/{items_id}\/Note\/{id}": { + "\/Inventory\/SNMPCredential\/{id}": { "get": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { @@ -184615,7 +341975,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/SNMPCredential" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/SNMPCredential" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/SNMPCredential" } } } @@ -184636,18 +342006,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Get an existing SNMPCredential", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184719,15 +342079,15 @@ }, "patch": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { - "description": "The updated Note", + "description": "The updated {itemtype}", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/SNMPCredential" } } } @@ -184748,18 +342108,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Update an existing SNMPCredential", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184825,7 +342175,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/SNMPCredential" } } } @@ -184840,7 +342190,7 @@ }, "delete": { "tags": [ - "Notes" + "Inventory" ], "responses": { "204": { @@ -184862,18 +342212,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Delete a SNMPCredential", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -184953,10 +342293,10 @@ ] } }, - "\/DatabaseInstance\/{items_id}\/Note\/{id}": { - "get": { + "\/Inventory\/Agent\/{id}\/InventoryRequest": { + "post": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { @@ -184964,7 +342304,41 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "object", + "properties": { + "answer": { + "type": "string", + "format": "string" + } + } + } + } + } + }, + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -184985,18 +342359,8 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "Request inventory from an agent", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -185065,18 +342429,54 @@ ] } ] - }, - "patch": { + } + }, + "\/Inventory\/Agent\/{id}\/StatusRequest": { + "post": { "tags": [ - "Notes" + "Inventory" ], "responses": { "200": { - "description": "The updated Note", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "object", + "properties": { + "answer": { + "type": "string", + "format": "string" + } + } + } + } + } + }, + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -185097,18 +342497,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Request status from an agent", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -185170,15 +342560,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -185186,14 +342567,24 @@ ] } ] - }, - "delete": { + } + }, + "\/Inventory\/Agent\/{id}\/InventoryFile": { + "get": { "tags": [ - "Notes" + "Inventory" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/octet-stream": { + "schema": { + "type": "string", + "format": "binary" + } + } + } }, "400": { "description": "Bad request" @@ -185211,18 +342602,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Get the last inventory file sent by the agent", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -185233,15 +342614,6 @@ "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -185302,10 +342674,10 @@ ] } }, - "\/Group\/{items_id}\/Note\/{id}": { + "\/Notifications\/QueuedNotification": { "get": { "tags": [ - "Notes" + "Notifications" ], "responses": { "200": { @@ -185313,7 +342685,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/QueuedNotification" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/QueuedNotification" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/QueuedNotification" + } } } } @@ -185334,27 +342725,53 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "List or search for QueuedNotifications", "parameters": [ { - "name": "items_id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -185414,18 +342831,30 @@ ] } ] - }, - "patch": { + } + }, + "\/Notifications\/QueuedNotification\/{id}": { + "get": { "tags": [ - "Notes" + "Notifications" ], "responses": { "200": { - "description": "The updated Note", + "description": "", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/QueuedNotification" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/QueuedNotification" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/QueuedNotification" } } } @@ -185446,18 +342875,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Get an existing QueuedNotification", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -185519,15 +342938,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, "security": [ { "oauth": [ @@ -185535,14 +342945,41 @@ ] } ] - }, - "delete": { + } + }, + "\/Notifications\/QueuedNotification\/{id}\/SendRequest": { + "post": { "tags": [ - "Notes" + "Notifications" ], "responses": { - "204": { - "description": "Success (no content)" + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } }, "400": { "description": "Bad request" @@ -185560,18 +342997,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Request to send a queued notification", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -185582,15 +343009,6 @@ "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -185651,10 +343069,10 @@ ] } }, - "\/Monitor\/{items_id}\/Note\/{id}": { + "\/Notifications\/Notification": { "get": { "tags": [ - "Notes" + "Notifications" ], "responses": { "200": { @@ -185662,7 +343080,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Notification" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Notification" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/Notification" + } } } } @@ -185683,27 +343120,53 @@ "description": "Internal server error" } }, - "description": "Get an existing Note", + "description": "List or search for Notifications", "parameters": [ { - "name": "items_id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "id", - "description": "", - "in": "path", - "required": true, + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "pattern": "\\d+" - } + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null }, { "name": "GLPI-Entity", @@ -185764,17 +343227,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Notes" + "Notifications" ], "responses": { - "200": { - "description": "The updated Note", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -185795,28 +343276,8 @@ "description": "Internal server error" } }, - "description": "Update an existing Note", + "description": "Create a new Notification", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -185872,7 +343333,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/Note" + "$ref": "#\/components\/schemas\/Notification" } } } @@ -185884,14 +343345,33 @@ ] } ] - }, - "delete": { + } + }, + "\/Notifications\/Notification\/{id}": { + "get": { "tags": [ - "Notes" + "Notifications" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/Notification" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/Notification" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/Notification" + } + } + } }, "400": { "description": "Bad request" @@ -185909,18 +343389,8 @@ "description": "Internal server error" } }, - "description": "Delete a Note", + "description": "Get an existing Notification", "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, { "name": "id", "description": "", @@ -185931,15 +343401,6 @@ "pattern": "\\d+" } }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, { "name": "GLPI-Entity", "in": "header", @@ -185998,38 +343459,18 @@ ] } ] - } - }, - "\/Knowledgebase\/Article": { - "post": { + }, + "patch": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "The updated Notification", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } + "$ref": "#\/components\/schemas\/Notification" } } } @@ -186050,18 +343491,17 @@ "description": "Internal server error" } }, - "description": "Create a new KBArticle", + "description": "Update an existing Notification", "parameters": [ { - "name": "language", + "name": "id", "description": "", - "in": "query", - "required": false, + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", @@ -186118,7 +343558,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticle" + "$ref": "#\/components\/schemas\/Notification" } } } @@ -186131,39 +343571,13 @@ } ] }, - "get": { + "delete": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -186181,64 +343595,26 @@ "description": "Internal server error" } }, - "description": "List or search for KBArticles", + "description": "Delete a Notification", "parameters": [ { - "name": "language", + "name": "id", "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, + "in": "path", + "required": true, "schema": { "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null + "pattern": "\\d+" + } }, { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -186300,10 +343676,10 @@ ] } }, - "\/Knowledgebase\/Article\/{article_id}": { + "\/Notifications\/Notification\/{notification_id}\/Recipient": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -186311,17 +343687,26 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticle" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotificationRecipient" + } } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/KBArticle" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotificationRecipient" + } } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/KBArticle" + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotificationRecipient" + } } } } @@ -186342,22 +343727,46 @@ "description": "Internal server error" } }, - "description": "Get an existing KBArticle", + "description": "List or search for NotificationRecipients", "parameters": [ { - "name": "article_id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "language", - "description": "", + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", "required": false, "schema": { @@ -186366,6 +343775,16 @@ }, "example": null }, + { + "name": "notification_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -186425,17 +343844,35 @@ } ] }, - "patch": { + "post": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { - "200": { - "description": "The updated KBArticle", + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticle" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } } } } @@ -186456,30 +343893,18 @@ "description": "Internal server error" } }, - "description": "Update an existing KBArticle", + "description": "Create a new NotificationRecipient", "parameters": [ { - "name": "article_id", + "name": "notification_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -186535,7 +343960,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticle" + "$ref": "#\/components\/schemas\/NotificationRecipient" } } } @@ -186547,14 +343972,33 @@ ] } ] - }, - "delete": { + } + }, + "\/Notifications\/Notification\/{notification_id}\/Recipient\/{id}": { + "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { - "204": { - "description": "Success (no content)" + "200": { + "description": "", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NotificationRecipient" + } + }, + "text\/csv": { + "schema": { + "$ref": "#\/components\/schemas\/NotificationRecipient" + } + }, + "application\/xml": { + "schema": { + "$ref": "#\/components\/schemas\/NotificationRecipient" + } + } + } }, "400": { "description": "Bad request" @@ -186572,37 +344016,26 @@ "description": "Internal server error" } }, - "description": "Delete a KBArticle", + "description": "Get an existing NotificationRecipient", "parameters": [ { - "name": "article_id", + "name": "id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, { - "name": "language", + "name": "notification_id", "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, + "in": "path", + "required": true, "schema": { - "type": "boolean" + "type": "integer", + "pattern": "\\d+" } }, { @@ -186663,41 +344096,14 @@ ] } ] - } - }, - "\/Knowledgebase\/Category": { - "post": { + }, + "delete": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Success (no content)" }, "400": { "description": "Bad request" @@ -186715,18 +344121,36 @@ "description": "Internal server error" } }, - "description": "Create a new KBCategory", + "description": "Delete a NotificationRecipient", "parameters": [ { - "name": "language", + "name": "id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "notification_id", "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", "in": "query", - "required": false, + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "boolean" + } }, { "name": "GLPI-Entity", @@ -186779,15 +344203,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - } - }, "security": [ { "oauth": [ @@ -186795,10 +344210,12 @@ ] } ] - }, + } + }, + "\/Notifications\/NotificationTemplate": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -186808,7 +344225,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } } }, @@ -186816,7 +344233,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } } }, @@ -186824,7 +344241,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } } } @@ -186846,19 +344263,8 @@ "description": "Internal server error" } }, - "description": "List or search for KBCategories", + "description": "List or search for NotificationTemplates", "parameters": [ - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "filter", "description": "RSQL query string", @@ -186963,12 +344369,131 @@ ] } ] + }, + "post": { + "tags": [ + "Notifications" + ], + "responses": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", + "schema": { + "type": "string" + } + } + }, + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Create a new NotificationTemplate", + "parameters": [ + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NotificationTemplate" + } + } + } + }, + "security": [ + { + "oauth": [ + "api" + ] + } + ] } }, - "\/Knowledgebase\/Category\/{id}": { + "\/Notifications\/NotificationTemplate\/{id}": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -186976,17 +344501,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } } } @@ -187007,7 +344532,7 @@ "description": "Internal server error" } }, - "description": "Get an existing KBCategory", + "description": "Get an existing NotificationTemplate", "parameters": [ { "name": "id", @@ -187016,21 +344541,9 @@ "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -187092,15 +344605,15 @@ }, "patch": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { - "description": "The updated KBCategory", + "description": "The updated NotificationTemplate", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } } } @@ -187121,7 +344634,7 @@ "description": "Internal server error" } }, - "description": "Update an existing KBCategory", + "description": "Update an existing NotificationTemplate", "parameters": [ { "name": "id", @@ -187130,21 +344643,9 @@ "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -187200,7 +344701,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBCategory" + "$ref": "#\/components\/schemas\/NotificationTemplate" } } } @@ -187215,7 +344716,7 @@ }, "delete": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "204": { @@ -187237,7 +344738,7 @@ "description": "Internal server error" } }, - "description": "Delete a KBCategory", + "description": "Delete a NotificationTemplate", "parameters": [ { "name": "id", @@ -187246,21 +344747,9 @@ "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "force", "in": "query", @@ -187330,35 +344819,36 @@ ] } }, - "\/Knowledgebase\/Article\/{article_id}\/Comment": { - "post": { + "\/Notifications\/NotificationTemplate\/{template_id}\/Translation": { + "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, + "200": { + "description": "", "content": { "application\/json": { "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" + } + } + }, + "text\/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" + } + } + }, + "application\/xml": { + "schema": { + "type": "array", + "items": { + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } } } @@ -187380,22 +344870,46 @@ "description": "Internal server error" } }, - "description": "Create a new KBArticleComment", + "description": "List or search for NotificationTemplateTranslations", "parameters": [ { - "name": "article_id", - "description": "", - "in": "path", - "required": true, + "name": "filter", + "description": "RSQL query string", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "string" + }, + "example": null + }, + { + "name": "start", + "description": "The first item to return", + "in": "query", + "required": false, "schema": { "type": "integer", - "format": "int32", - "pattern": "\\d+" - } + "format": "int64", + "default": 0 + }, + "example": null }, { - "name": "language", - "description": "", + "name": "limit", + "description": "The maximum number of items to return", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + }, + "example": null + }, + { + "name": "sort", + "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", "in": "query", "required": false, "schema": { @@ -187404,6 +344918,16 @@ }, "example": null }, + { + "name": "template_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -187455,15 +344979,6 @@ } } ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - } - }, "security": [ { "oauth": [ @@ -187472,35 +344987,34 @@ } ] }, - "get": { + "post": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - }, - "text\/csv": { + "201": { + "description": "Success (created)", + "headers": { + "Location": { + "description": "The URL of the newly created resource", "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } + "type": "string" } - }, - "application\/xml": { + } + }, + "content": { + "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleComment" + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "readOnly": true + }, + "href": { + "type": "string" + } } } } @@ -187522,76 +345036,18 @@ "description": "Internal server error" } }, - "description": "List or search for KBArticleComments", + "description": "Create a new NotificationTemplateTranslation", "parameters": [ { - "name": "article_id", + "name": "template_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -187643,6 +345099,15 @@ } } ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" + } + } + } + }, "security": [ { "oauth": [ @@ -187652,10 +345117,10 @@ ] } }, - "\/Knowledgebase\/Article\/{article_id}\/Comment\/{id}": { + "\/Notifications\/NotificationTemplate\/{template_id}\/Translation\/{id}": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -187663,17 +345128,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } } } @@ -187694,41 +345159,28 @@ "description": "Internal server error" } }, - "description": "Get an existing KBArticleComment", + "description": "Get an existing NotificationTemplateTranslation", "parameters": [ { - "name": "article_id", + "name": "id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "template_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -187790,15 +345242,15 @@ }, "patch": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { - "description": "The updated KBArticleComment", + "description": "The updated NotificationTemplateTranslation", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } } } @@ -187819,41 +345271,28 @@ "description": "Internal server error" } }, - "description": "Update an existing KBArticleComment", + "description": "Update an existing NotificationTemplateTranslation", "parameters": [ { - "name": "article_id", + "name": "id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "template_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -187909,7 +345348,7 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } } } @@ -187924,7 +345363,7 @@ }, "delete": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "204": { @@ -187946,41 +345385,28 @@ "description": "Internal server error" } }, - "description": "Delete a KBArticleComment", + "description": "Delete a NotificationTemplateTranslation", "parameters": [ { - "name": "article_id", + "name": "id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, { - "name": "id", + "name": "template_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "force", "in": "query", @@ -188050,10 +345476,10 @@ ] } }, - "\/Knowledgebase\/Article\/{article_id}\/Revision": { + "\/Notifications\/NotificationTemplate\/{template_id}\/Translation\/{language}": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -188061,26 +345487,17 @@ "content": { "application\/json": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } }, "text\/csv": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } }, "application\/xml": { "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } } } @@ -188101,75 +345518,27 @@ "description": "Internal server error" } }, - "description": "List or search for KBArticleRevisions", + "description": "Get an existing NotificationTemplateTranslation", "parameters": [ { - "name": "article_id", + "name": "template_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, { "name": "language", "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, + "in": "path", + "required": true, "schema": { "type": "string", - "format": "string" - }, - "example": null + "pattern": "\\w+" + } }, { "name": "GLPI-Entity", @@ -188231,10 +345600,10 @@ ] } }, - "\/Knowledgebase\/Article\/{article_id}\/Revision\/{revision}": { + "\/Notifications\/NotificationTemplate\/{template_id}\/Translation\/Default": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -188242,17 +345611,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" } } } @@ -188273,30 +345642,18 @@ "description": "Internal server error" } }, - "description": "Get an existing KBArticleRevision", + "description": "Get an existing NotificationTemplateTranslation", "parameters": [ { - "name": "article_id", + "name": "template_id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "GLPI-Entity", "in": "header", @@ -188357,10 +345714,10 @@ ] } }, - "\/Knowledgebase\/Article\/{article_id}\/{language}\/Revision": { + "\/Notifications\/Notification\/{notification_id}\/NotificationTemplate": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -188370,7 +345727,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" } } }, @@ -188378,7 +345735,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" } } }, @@ -188386,7 +345743,7 @@ "schema": { "type": "array", "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" } } } @@ -188408,30 +345765,8 @@ "description": "Internal server error" } }, - "description": "List or search for KBArticleRevisions", + "description": "List or search for Notification_NotificationTemplates", "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, { "name": "filter", "description": "RSQL query string", @@ -188478,6 +345813,120 @@ }, "example": null }, + { + "name": "notification_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "GLPI-Entity", + "in": "header", + "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Profile", + "in": "header", + "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", + "schema": { + "type": "integer" + } + }, + { + "name": "GLPI-Entity-Recursive", + "in": "header", + "description": "\"true\" if the entity access should include child entities. This is false by default.", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "name": "Accept-Language", + "in": "header", + "description": "The language to use for the response. If not specified, the default language for the user is used.", + "schema": { + "type": "string" + }, + "examples": { + "English_GB": { + "value": "en_GB", + "summary": "English (United Kingdom)" + }, + "French_FR": { + "value": "fr_FR", + "summary": "French (France)" + }, + "Portuguese_BR": { + "value": "pt_BR", + "summary": "Portuguese (Brazil)" + } + } + } + ], + "security": [ + { + "oauth": [ + "api" + ] + } + ] + }, + "delete": { + "tags": [ + "Notifications" + ], + "responses": { + "204": { + "description": "Success (no content)" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Internal server error" + } + }, + "description": "Delete a Notification_NotificationTemplate", + "parameters": [ + { + "name": "notification_id", + "description": "", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "pattern": "\\d+" + } + }, + { + "name": "force", + "in": "query", + "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", + "default": false, + "schema": { + "type": "boolean" + } + }, { "name": "GLPI-Entity", "in": "header", @@ -188538,10 +345987,10 @@ ] } }, - "\/Knowledgebase\/Article\/{article_id}\/{language}\/Revision\/{revision}": { + "\/Notifications\/Notification\/{notification_id}\/NotificationTemplate\/{id}": { "get": { "tags": [ - "Knowledgebase" + "Notifications" ], "responses": { "200": { @@ -188549,17 +345998,17 @@ "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" } }, "text\/csv": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" } }, "application\/xml": { "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" + "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" } } } @@ -188580,29 +346029,27 @@ "description": "Internal server error" } }, - "description": "Get an existing KBArticleRevision", + "description": "Get an existing Notification_NotificationTemplate", "parameters": [ { - "name": "article_id", + "name": "id", "description": "", "in": "path", "required": true, "schema": { "type": "integer", - "format": "int32", "pattern": "\\d+" } }, { - "name": "language", + "name": "notification_id", "description": "", - "in": "query", - "required": false, + "in": "path", + "required": true, "schema": { - "type": "string", - "format": "string" - }, - "example": null + "type": "integer", + "pattern": "\\d+" + } }, { "name": "GLPI-Entity", From 9709246a2cb0753f8eb873ec57c7fccd8bd42347 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:20:33 +0200 Subject: [PATCH 03/18] feat(kb): add Knowledgebase endpoint path constants Co-Authored-By: Claude Opus 4.8 --- glpi_python_client/clients/commons/_constants.py | 10 ++++++++++ .../clients/commons/tests/test_constants.py | 14 ++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 glpi_python_client/clients/commons/tests/test_constants.py diff --git a/glpi_python_client/clients/commons/_constants.py b/glpi_python_client/clients/commons/_constants.py index b1221cf..a066759 100644 --- a/glpi_python_client/clients/commons/_constants.py +++ b/glpi_python_client/clients/commons/_constants.py @@ -33,11 +33,21 @@ SOLUTION_SUFFIX = "Timeline/Solution" TIMELINE_DOCUMENT_SUFFIX = "Timeline/Document" +# knowledgebase/ +KB_ARTICLE_ENDPOINT = "Knowledgebase/Article" +KB_CATEGORY_ENDPOINT = "Knowledgebase/Category" +KB_COMMENT_SUFFIX = "Comment" +KB_REVISION_SUFFIX = "Revision" + __all__ = [ "DOCUMENT_ENDPOINT", "ENTITY_ENDPOINT", "FOLLOWUP_SUFFIX", + "KB_ARTICLE_ENDPOINT", + "KB_CATEGORY_ENDPOINT", + "KB_COMMENT_SUFFIX", + "KB_REVISION_SUFFIX", "LOCATION_ENDPOINT", "SOLUTION_SUFFIX", "TASK_SUFFIX", diff --git a/glpi_python_client/clients/commons/tests/test_constants.py b/glpi_python_client/clients/commons/tests/test_constants.py new file mode 100644 index 0000000..9732202 --- /dev/null +++ b/glpi_python_client/clients/commons/tests/test_constants.py @@ -0,0 +1,14 @@ +"""Tests for the GLPI Knowledge base endpoint path constants.""" + +from __future__ import annotations + +from glpi_python_client.clients.commons import _constants + + +def test_knowledgebase_endpoint_constants() -> None: + """The KB endpoint constants match the 2.3.0 contract resource paths.""" + + assert _constants.KB_ARTICLE_ENDPOINT == "Knowledgebase/Article" + assert _constants.KB_CATEGORY_ENDPOINT == "Knowledgebase/Category" + assert _constants.KB_COMMENT_SUFFIX == "Comment" + assert _constants.KB_REVISION_SUFFIX == "Revision" From 054a596ca9833e33d60ad4ae592dbba523a9a855 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:21:54 +0200 Subject: [PATCH 04/18] feat(kb): add KBCategory Get/Post/Patch/Delete models Co-Authored-By: Claude Opus 4.8 --- .../api_schema/knowledgebase/__init__.py | 21 +++++ .../api_schema/knowledgebase/_category.py | 78 +++++++++++++++++++ .../knowledgebase/tests/__init__.py | 0 .../tests/test_category_schema.py | 52 +++++++++++++ 4 files changed, 151 insertions(+) create mode 100644 glpi_python_client/models/api_schema/knowledgebase/__init__.py create mode 100644 glpi_python_client/models/api_schema/knowledgebase/_category.py create mode 100644 glpi_python_client/models/api_schema/knowledgebase/tests/__init__.py create mode 100644 glpi_python_client/models/api_schema/knowledgebase/tests/test_category_schema.py diff --git a/glpi_python_client/models/api_schema/knowledgebase/__init__.py b/glpi_python_client/models/api_schema/knowledgebase/__init__.py new file mode 100644 index 0000000..d96aeaf --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/__init__.py @@ -0,0 +1,21 @@ +"""Knowledge base entity schemas mirroring the ``/Knowledgebase`` endpoints. + +This subpackage exposes the per-verb Pydantic models for KB articles, +article comments, article revisions, and categories. Each module follows +the ``Get``/``Post``/``Patch``/``Delete`` naming +convention. Revisions are read-only and expose a ``Get`` model only. +""" + +from glpi_python_client.models.api_schema.knowledgebase._category import ( + DeleteKBCategory, + GetKBCategory, + PatchKBCategory, + PostKBCategory, +) + +__all__ = [ + "DeleteKBCategory", + "GetKBCategory", + "PatchKBCategory", + "PostKBCategory", +] diff --git a/glpi_python_client/models/api_schema/knowledgebase/_category.py b/glpi_python_client/models/api_schema/knowledgebase/_category.py new file mode 100644 index 0000000..c76ea21 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/_category.py @@ -0,0 +1,78 @@ +"""GLPI ``KBCategory`` schemas for the ``/Knowledgebase/Category`` endpoints. + +The field layout mirrors ``components.schemas.KBCategory`` from the GLPI +OpenAPI contract (2.3.0). Read-only contract fields (``id``, +``completename``, ``level``) are excluded from the request models. +""" + +from __future__ import annotations + +from datetime import datetime + +from glpi_python_client.models._base import GlpiModel +from glpi_python_client.models.api_schema._common import IdNameRef + + +class GetKBCategory(GlpiModel): + """Response shape returned by ``GET /Knowledgebase/Category`` endpoints. + + Mirrors ``components.schemas.KBCategory``. ``completename`` and + ``level`` are server-managed (``readOnly``). + """ + + id: int | None = None + name: str | None = None + completename: str | None = None + comment: str | None = None + entity: IdNameRef | None = None + is_recursive: bool | None = None + parent: IdNameRef | None = None + level: int | None = None + date_creation: datetime | None = None + date_mod: datetime | None = None + + +class PostKBCategory(GlpiModel): + """Request body for ``POST /Knowledgebase/Category``. + + Read-only contract fields (``id``, ``completename``, ``level``) are + excluded because the server rejects them on input. + """ + + name: str | None = None + comment: str | None = None + entity: IdNameRef | None = None + is_recursive: bool | None = None + parent: IdNameRef | None = None + date_creation: datetime | None = None + date_mod: datetime | None = None + + +class PatchKBCategory(PostKBCategory): + """Request body for ``PATCH /Knowledgebase/Category/{id}``. + + The contract uses the same ``KBCategory`` schema for create and + partial-update bodies; ``PatchKBCategory`` is kept distinct so client + mixins can express the intent of the operation explicitly. + """ + + +class DeleteKBCategory(GlpiModel): + """Body for ``DELETE /Knowledgebase/Category/{id}``. + + Parameters + ---------- + force : bool | None, optional + When ``True``, permanently delete the category instead of moving + the record to the GLPI trash. + """ + + force: bool | None = None + + +__all__ = [ + "DeleteKBCategory", + "GetKBCategory", + "PatchKBCategory", + "PostKBCategory", +] diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/__init__.py b/glpi_python_client/models/api_schema/knowledgebase/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_category_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_category_schema.py new file mode 100644 index 0000000..75a9664 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_category_schema.py @@ -0,0 +1,52 @@ +"""Tests for the Knowledge base category api_schema models.""" + +from __future__ import annotations + +from glpi_python_client.models.api_schema.knowledgebase import ( + DeleteKBCategory, + GetKBCategory, + PatchKBCategory, + PostKBCategory, +) + + +def test_get_kb_category_full_payload() -> None: + """``GetKBCategory`` accepts every contract field of ``KBCategory``.""" + + payload = { + "id": 4, + "name": "Network", + "completename": "IT > Network", + "comment": "networking articles", + "entity": {"id": 0, "name": "root"}, + "is_recursive": True, + "parent": {"id": 1, "name": "IT"}, + "level": 2, + "date_creation": "2026-01-02T09:00:00+00:00", + "date_mod": "2026-01-03T09:00:00+00:00", + } + category = GetKBCategory.model_validate(payload) + assert category.id == 4 + assert category.completename == "IT > Network" + assert category.parent is not None + assert category.parent.id == 1 + + +def test_post_kb_category_routes_read_only_fields_to_extra() -> None: + """Read-only fields land in ``extra_payload`` for server-side rejection.""" + + for forbidden in ("id", "completename", "level"): + category = PostKBCategory.model_validate({"name": "Network", forbidden: "x"}) + assert category.extra_payload == {forbidden: "x"} + + +def test_patch_kb_category_partial_body() -> None: + """``PatchKBCategory`` accepts a partial body.""" + + PatchKBCategory.model_validate({"comment": "moved"}) + + +def test_delete_kb_category_force_default() -> None: + """``DeleteKBCategory`` exposes ``force`` as optional.""" + + assert DeleteKBCategory().force is None From 2f761aa7950210ad76c3b162607797f55fc04635 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:22:49 +0200 Subject: [PATCH 05/18] feat(kb): add KBArticle models with HTML content and nested refs Co-Authored-By: Claude Opus 4.8 --- .../api_schema/knowledgebase/__init__.py | 10 ++ .../api_schema/knowledgebase/_article.py | 114 ++++++++++++++++++ .../tests/test_article_schema.py | 83 +++++++++++++ 3 files changed, 207 insertions(+) create mode 100644 glpi_python_client/models/api_schema/knowledgebase/_article.py create mode 100644 glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py diff --git a/glpi_python_client/models/api_schema/knowledgebase/__init__.py b/glpi_python_client/models/api_schema/knowledgebase/__init__.py index d96aeaf..5df8220 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/__init__.py +++ b/glpi_python_client/models/api_schema/knowledgebase/__init__.py @@ -6,6 +6,12 @@ convention. Revisions are read-only and expose a ``Get`` model only. """ +from glpi_python_client.models.api_schema.knowledgebase._article import ( + DeleteKBArticle, + GetKBArticle, + PatchKBArticle, + PostKBArticle, +) from glpi_python_client.models.api_schema.knowledgebase._category import ( DeleteKBCategory, GetKBCategory, @@ -14,8 +20,12 @@ ) __all__ = [ + "DeleteKBArticle", "DeleteKBCategory", + "GetKBArticle", "GetKBCategory", + "PatchKBArticle", "PatchKBCategory", + "PostKBArticle", "PostKBCategory", ] diff --git a/glpi_python_client/models/api_schema/knowledgebase/_article.py b/glpi_python_client/models/api_schema/knowledgebase/_article.py new file mode 100644 index 0000000..88dbcf2 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/_article.py @@ -0,0 +1,114 @@ +"""GLPI ``KBArticle`` schemas for the ``/Knowledgebase/Article`` endpoints. + +The field layout mirrors ``components.schemas.KBArticle`` from the GLPI +OpenAPI contract (2.3.0). ``content`` and ``description`` are exchanged as +HTML (``format: html``) and use the transparent Markdown annotation. +Server-managed fields (``id``, ``user``, ``views``, ``revisions``, +``translations``) are excluded from the request models; revisions and +translations are managed through the dedicated revision endpoints. +""" + +from __future__ import annotations + +from datetime import datetime + +from glpi_python_client.models._base import GlpiModel +from glpi_python_client.models.api_schema._common import IdNameRef +from glpi_python_client.models.api_schema._content import GlpiMarkdownContent + + +class _KBArticleRevisionRef(GlpiModel): + """One inline entry of the read-only ``KBArticle.revisions`` array.""" + + id: int | None = None + revision: int | None = None + language: str | None = None + date: datetime | None = None + + +class _KBArticleTranslationRef(GlpiModel): + """One inline entry of the read-only ``KBArticle.translations`` array.""" + + id: int | None = None + language: str | None = None + name: str | None = None + + +class GetKBArticle(GlpiModel): + """Response shape returned by ``GET /Knowledgebase/Article`` endpoints. + + Mirrors ``components.schemas.KBArticle``. ``content`` and + ``description`` round-trip Markdown through GLPI's HTML wire format. + """ + + id: int | None = None + name: str | None = None + content: GlpiMarkdownContent = None + categories: list[IdNameRef] | None = None + is_faq: bool | None = None + entity: IdNameRef | None = None + is_recursive: bool | None = None + user: IdNameRef | None = None + views: int | None = None + show_in_service_catalog: bool | None = None + description: GlpiMarkdownContent = None + illustration: str | None = None + is_pinned: bool | None = None + date_creation: datetime | None = None + date_mod: datetime | None = None + date_begin: datetime | None = None + date_end: datetime | None = None + revisions: list[_KBArticleRevisionRef] | None = None + translations: list[_KBArticleTranslationRef] | None = None + + +class PostKBArticle(GlpiModel): + """Request body for ``POST /Knowledgebase/Article``. + + Server-managed fields are excluded: ``id`` (``readOnly``), ``user`` + (the author is set by the server), ``views`` (a server-side counter), + and the ``revisions``/``translations`` history arrays. + """ + + name: str | None = None + content: GlpiMarkdownContent = None + categories: list[IdNameRef] | None = None + is_faq: bool | None = None + entity: IdNameRef | None = None + is_recursive: bool | None = None + show_in_service_catalog: bool | None = None + description: GlpiMarkdownContent = None + illustration: str | None = None + is_pinned: bool | None = None + date_creation: datetime | None = None + date_mod: datetime | None = None + date_begin: datetime | None = None + date_end: datetime | None = None + + +class PatchKBArticle(PostKBArticle): + """Request body for ``PATCH /Knowledgebase/Article/{article_id}``. + + Inherits every writable field from :class:`PostKBArticle`. + """ + + +class DeleteKBArticle(GlpiModel): + """Body for ``DELETE /Knowledgebase/Article/{article_id}``. + + Parameters + ---------- + force : bool | None, optional + When ``True``, permanently delete the article instead of moving + the record to the GLPI trash. + """ + + force: bool | None = None + + +__all__ = [ + "DeleteKBArticle", + "GetKBArticle", + "PatchKBArticle", + "PostKBArticle", +] diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py new file mode 100644 index 0000000..e884486 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py @@ -0,0 +1,83 @@ +"""Tests for the Knowledge base article api_schema models.""" + +from __future__ import annotations + +from glpi_python_client.clients.commons._payloads import model_to_payload +from glpi_python_client.models.api_schema.knowledgebase import ( + DeleteKBArticle, + GetKBArticle, + PatchKBArticle, + PostKBArticle, +) + + +def test_get_kb_article_full_payload() -> None: + """``GetKBArticle`` accepts every contract field of ``KBArticle``.""" + + payload = { + "id": 5, + "name": "Reset a password", + "content": "

Open the console and run passwd.

", + "categories": [{"id": 4, "name": "Network"}], + "is_faq": True, + "entity": {"id": 0, "name": "root"}, + "is_recursive": True, + "user": {"id": 2, "name": "glpi"}, + "views": 42, + "show_in_service_catalog": False, + "description": "

Short summary

", + "illustration": "reset.png", + "is_pinned": True, + "date_creation": "2026-01-02T09:00:00+00:00", + "date_mod": "2026-01-03T09:00:00+00:00", + "date_begin": "2026-01-01T00:00:00+00:00", + "date_end": "2026-12-31T00:00:00+00:00", + "revisions": [ + { + "id": 11, + "revision": 2, + "language": "en_GB", + "date": "2026-01-03T09:00:00+00:00", + } + ], + "translations": [{"id": 21, "language": "fr_FR", "name": "Reinitialiser"}], + } + article = GetKBArticle.model_validate(payload) + assert article.id == 5 + # HTML content is normalised to Markdown on the model boundary. + assert "passwd" in (article.content or "") + assert article.categories is not None + assert article.categories[0].id == 4 + assert article.revisions is not None + assert article.revisions[0].revision == 2 + assert article.translations is not None + assert article.translations[0].language == "fr_FR" + + +def test_post_kb_article_markdown_content_renders_html() -> None: + """Markdown ``content`` is rendered back to HTML on serialisation.""" + + article = PostKBArticle(name="How to", content="Run **passwd**") + body = model_to_payload(article) + assert body["name"] == "How to" + assert "passwd" in body["content"] + + +def test_post_kb_article_routes_server_managed_fields_to_extra() -> None: + """Server-managed fields land in ``extra_payload`` rather than typed slots.""" + + for forbidden in ("id", "views"): + article = PostKBArticle.model_validate({"name": "x", forbidden: 3}) + assert article.extra_payload == {forbidden: 3} + + +def test_patch_kb_article_partial_body() -> None: + """``PatchKBArticle`` accepts a partial body.""" + + PatchKBArticle.model_validate({"is_pinned": True}) + + +def test_delete_kb_article_force_default() -> None: + """``DeleteKBArticle`` exposes ``force`` as optional.""" + + assert DeleteKBArticle().force is None From 54f6a47c05677e14ffa77f6b4237fbe4fcccfc43 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:26:52 +0200 Subject: [PATCH 06/18] feat(kb): add KBArticleComment models Co-Authored-By: Claude Opus 4.8 --- .../api_schema/knowledgebase/__init__.py | 10 +++ .../api_schema/knowledgebase/_comment.py | 74 +++++++++++++++++++ .../tests/test_comment_schema.py | 49 ++++++++++++ 3 files changed, 133 insertions(+) create mode 100644 glpi_python_client/models/api_schema/knowledgebase/_comment.py create mode 100644 glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py diff --git a/glpi_python_client/models/api_schema/knowledgebase/__init__.py b/glpi_python_client/models/api_schema/knowledgebase/__init__.py index 5df8220..ac7897f 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/__init__.py +++ b/glpi_python_client/models/api_schema/knowledgebase/__init__.py @@ -18,14 +18,24 @@ PatchKBCategory, PostKBCategory, ) +from glpi_python_client.models.api_schema.knowledgebase._comment import ( + DeleteKBArticleComment, + GetKBArticleComment, + PatchKBArticleComment, + PostKBArticleComment, +) __all__ = [ "DeleteKBArticle", + "DeleteKBArticleComment", "DeleteKBCategory", "GetKBArticle", + "GetKBArticleComment", "GetKBCategory", "PatchKBArticle", + "PatchKBArticleComment", "PatchKBCategory", "PostKBArticle", + "PostKBArticleComment", "PostKBCategory", ] diff --git a/glpi_python_client/models/api_schema/knowledgebase/_comment.py b/glpi_python_client/models/api_schema/knowledgebase/_comment.py new file mode 100644 index 0000000..4c7cf20 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/_comment.py @@ -0,0 +1,74 @@ +"""GLPI ``KBArticleComment`` schemas for the KB comment endpoints. + +The endpoints live under +``/Knowledgebase/Article/{article_id}/Comment``. The field layout mirrors +``components.schemas.KBArticleComment`` from the GLPI OpenAPI contract +(2.3.0). The read-only ``id`` and the server-managed ``kbarticle``/``user`` +references are excluded from the request models; the parent article is +implied by the URL path. +""" + +from __future__ import annotations + +from datetime import datetime + +from glpi_python_client.models._base import GlpiModel +from glpi_python_client.models.api_schema._common import IdNameRef, IdRef + + +class GetKBArticleComment(GlpiModel): + """Response shape returned by ``GET`` on KB comment endpoints. + + Mirrors ``components.schemas.KBArticleComment``. + """ + + id: int | None = None + kbarticle: IdNameRef | None = None + user: IdNameRef | None = None + language: str | None = None + comment: str | None = None + parent: IdRef | None = None + date_creation: datetime | None = None + date_mod: datetime | None = None + + +class PostKBArticleComment(GlpiModel): + """Request body for ``POST`` on KB comment endpoints. + + The parent article (``kbarticle``) is taken from the URL path and the + author (``user``) is set by the server, so both are excluded here. + """ + + language: str | None = None + comment: str | None = None + parent: IdRef | None = None + date_creation: datetime | None = None + date_mod: datetime | None = None + + +class PatchKBArticleComment(PostKBArticleComment): + """Request body for ``PATCH`` on KB comment endpoints. + + Inherits every writable field from :class:`PostKBArticleComment`. + """ + + +class DeleteKBArticleComment(GlpiModel): + """Body for ``DELETE`` on KB comment endpoints. + + Parameters + ---------- + force : bool | None, optional + When ``True``, permanently delete the comment instead of moving + the record to the GLPI trash. + """ + + force: bool | None = None + + +__all__ = [ + "DeleteKBArticleComment", + "GetKBArticleComment", + "PatchKBArticleComment", + "PostKBArticleComment", +] diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py new file mode 100644 index 0000000..f19c2ba --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py @@ -0,0 +1,49 @@ +"""Tests for the Knowledge base article comment api_schema models.""" + +from __future__ import annotations + +from glpi_python_client.models.api_schema.knowledgebase import ( + DeleteKBArticleComment, + GetKBArticleComment, + PatchKBArticleComment, + PostKBArticleComment, +) + + +def test_get_kb_article_comment_full_payload() -> None: + """``GetKBArticleComment`` accepts every contract field.""" + + payload = { + "id": 7, + "kbarticle": {"id": 5, "name": "Reset a password"}, + "user": {"id": 2, "name": "glpi"}, + "language": "en_GB", + "comment": "This helped, thanks.", + "parent": {"id": 0}, + "date_creation": "2026-01-02T09:00:00+00:00", + "date_mod": "2026-01-03T09:00:00+00:00", + } + comment = GetKBArticleComment.model_validate(payload) + assert comment.id == 7 + assert comment.kbarticle is not None + assert comment.kbarticle.id == 5 + assert comment.comment == "This helped, thanks." + + +def test_post_kb_article_comment_routes_read_only_to_extra() -> None: + """The read-only ``id`` lands in ``extra_payload``.""" + + comment = PostKBArticleComment.model_validate({"comment": "hi", "id": 9}) + assert comment.extra_payload == {"id": 9} + + +def test_patch_kb_article_comment_partial_body() -> None: + """``PatchKBArticleComment`` accepts a partial body.""" + + PatchKBArticleComment.model_validate({"comment": "edited"}) + + +def test_delete_kb_article_comment_force_default() -> None: + """``DeleteKBArticleComment`` exposes ``force`` as optional.""" + + assert DeleteKBArticleComment().force is None From 0abd4b1cad714753d5819dffe9d25fa8f6115278 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:31:54 +0200 Subject: [PATCH 07/18] feat(kb): add read-only KBArticleRevision model Co-Authored-By: Claude Opus 4.8 --- .../api_schema/knowledgebase/__init__.py | 4 +++ .../api_schema/knowledgebase/_revision.py | 35 +++++++++++++++++++ .../tests/test_revision_schema.py | 25 +++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 glpi_python_client/models/api_schema/knowledgebase/_revision.py create mode 100644 glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py diff --git a/glpi_python_client/models/api_schema/knowledgebase/__init__.py b/glpi_python_client/models/api_schema/knowledgebase/__init__.py index ac7897f..c6688df 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/__init__.py +++ b/glpi_python_client/models/api_schema/knowledgebase/__init__.py @@ -24,6 +24,9 @@ PatchKBArticleComment, PostKBArticleComment, ) +from glpi_python_client.models.api_schema.knowledgebase._revision import ( + GetKBArticleRevision, +) __all__ = [ "DeleteKBArticle", @@ -31,6 +34,7 @@ "DeleteKBCategory", "GetKBArticle", "GetKBArticleComment", + "GetKBArticleRevision", "GetKBCategory", "PatchKBArticle", "PatchKBArticleComment", diff --git a/glpi_python_client/models/api_schema/knowledgebase/_revision.py b/glpi_python_client/models/api_schema/knowledgebase/_revision.py new file mode 100644 index 0000000..123b377 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/_revision.py @@ -0,0 +1,35 @@ +"""GLPI ``KBArticleRevision`` schema for the KB revision endpoints. + +The endpoints live under +``/Knowledgebase/Article/{article_id}/Revision`` (and the language-scoped +variant). Revisions are read-only, so this module exposes only a ``Get`` +model. ``content`` is exchanged as HTML (``format: html``) and round-trips +Markdown on the model boundary. +""" + +from __future__ import annotations + +from datetime import datetime + +from glpi_python_client.models._base import GlpiModel +from glpi_python_client.models.api_schema._common import IdNameRef +from glpi_python_client.models.api_schema._content import GlpiMarkdownContent + + +class GetKBArticleRevision(GlpiModel): + """Response shape returned by ``GET`` on KB revision endpoints. + + Mirrors ``components.schemas.KBArticleRevision``. + """ + + id: int | None = None + kbarticle: IdNameRef | None = None + revision: int | None = None + name: str | None = None + content: GlpiMarkdownContent = None + language: str | None = None + user: IdNameRef | None = None + date: datetime | None = None + + +__all__ = ["GetKBArticleRevision"] diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py new file mode 100644 index 0000000..5e56911 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py @@ -0,0 +1,25 @@ +"""Tests for the read-only Knowledge base article revision model.""" + +from __future__ import annotations + +from glpi_python_client.models.api_schema.knowledgebase import GetKBArticleRevision + + +def test_get_kb_article_revision_full_payload() -> None: + """``GetKBArticleRevision`` accepts every contract field and normalises HTML.""" + + payload = { + "id": 11, + "kbarticle": {"id": 5, "name": "Reset a password"}, + "revision": 2, + "name": "Reset a password", + "content": "

Run passwd.

", + "language": "en_GB", + "user": {"id": 2, "name": "glpi"}, + "date": "2026-01-03T09:00:00+00:00", + } + revision = GetKBArticleRevision.model_validate(payload) + assert revision.revision == 2 + assert "passwd" in (revision.content or "") + assert revision.kbarticle is not None + assert revision.kbarticle.id == 5 From 45d1a99fc4054a121b895e8baa878fa598ecfe2f Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:36:44 +0200 Subject: [PATCH 08/18] feat(kb): re-export Knowledge base models from the package roots Co-Authored-By: Claude Opus 4.8 --- glpi_python_client/__init__.py | 26 +++++++++++++ glpi_python_client/models/__init__.py | 28 ++++++++++++++ .../knowledgebase/tests/test_exports.py | 38 +++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 glpi_python_client/models/api_schema/knowledgebase/tests/test_exports.py diff --git a/glpi_python_client/__init__.py b/glpi_python_client/__init__.py index a24f220..7aae164 100644 --- a/glpi_python_client/__init__.py +++ b/glpi_python_client/__init__.py @@ -19,6 +19,9 @@ DeleteDocument, DeleteEntity, DeleteFollowup, + DeleteKBArticle, + DeleteKBArticleComment, + DeleteKBCategory, DeleteLocation, DeleteSolution, DeleteTeamMember, @@ -29,6 +32,10 @@ GetDocument, GetEntity, GetFollowup, + GetKBArticle, + GetKBArticleComment, + GetKBArticleRevision, + GetKBCategory, GetLocation, GetPluginFieldsContainer, GetPluginFieldsField, @@ -55,6 +62,9 @@ PatchDocument, PatchEntity, PatchFollowup, + PatchKBArticle, + PatchKBArticleComment, + PatchKBCategory, PatchLocation, PatchSolution, PatchTeamMember, @@ -65,6 +75,9 @@ PostDocument, PostEntity, PostFollowup, + PostKBArticle, + PostKBArticleComment, + PostKBCategory, PostLocation, PostPluginFieldsValueRow, PostSolution, @@ -83,6 +96,9 @@ "DeleteDocument", "DeleteEntity", "DeleteFollowup", + "DeleteKBArticle", + "DeleteKBArticleComment", + "DeleteKBCategory", "DeleteLocation", "DeleteSolution", "DeleteTeamMember", @@ -93,6 +109,10 @@ "GetDocument", "GetEntity", "GetFollowup", + "GetKBArticle", + "GetKBArticleComment", + "GetKBArticleRevision", + "GetKBCategory", "GetLocation", "GetPluginFieldsContainer", "GetPluginFieldsField", @@ -120,6 +140,9 @@ "PatchDocument", "PatchEntity", "PatchFollowup", + "PatchKBArticle", + "PatchKBArticleComment", + "PatchKBCategory", "PatchLocation", "PatchSolution", "PatchTeamMember", @@ -130,6 +153,9 @@ "PostDocument", "PostEntity", "PostFollowup", + "PostKBArticle", + "PostKBArticleComment", + "PostKBCategory", "PostLocation", "PostPluginFieldsValueRow", "PostSolution", diff --git a/glpi_python_client/models/__init__.py b/glpi_python_client/models/__init__.py index 9380e07..b0af301 100644 --- a/glpi_python_client/models/__init__.py +++ b/glpi_python_client/models/__init__.py @@ -74,6 +74,21 @@ GlpiTimelinePosition, GlpiUserAuthType, ) +from glpi_python_client.models.api_schema.knowledgebase import ( + DeleteKBArticle, + DeleteKBArticleComment, + DeleteKBCategory, + GetKBArticle, + GetKBArticleComment, + GetKBArticleRevision, + GetKBCategory, + PatchKBArticle, + PatchKBArticleComment, + PatchKBCategory, + PostKBArticle, + PostKBArticleComment, + PostKBCategory, +) from glpi_python_client.models.api_schema.management import ( DeleteDocument, GetDocument, @@ -95,6 +110,9 @@ "DeleteDocument", "DeleteEntity", "DeleteFollowup", + "DeleteKBArticle", + "DeleteKBArticleComment", + "DeleteKBCategory", "DeleteLocation", "DeleteSolution", "DeleteTeamMember", @@ -105,6 +123,10 @@ "GetDocument", "GetEntity", "GetFollowup", + "GetKBArticle", + "GetKBArticleComment", + "GetKBArticleRevision", + "GetKBCategory", "GetLocation", "GetPluginFieldsContainer", "GetPluginFieldsField", @@ -131,6 +153,9 @@ "PatchDocument", "PatchEntity", "PatchFollowup", + "PatchKBArticle", + "PatchKBArticleComment", + "PatchKBCategory", "PatchLocation", "PatchSolution", "PatchTeamMember", @@ -141,6 +166,9 @@ "PostDocument", "PostEntity", "PostFollowup", + "PostKBArticle", + "PostKBArticleComment", + "PostKBCategory", "PostLocation", "PostPluginFieldsValueRow", "PostSolution", diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_exports.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_exports.py new file mode 100644 index 0000000..6c3e6e7 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_exports.py @@ -0,0 +1,38 @@ +"""Assert the KB models are re-exported from the package roots.""" + +from __future__ import annotations + +import glpi_python_client +import glpi_python_client.models as models + +_KB_MODELS = ( + "GetKBArticle", + "PostKBArticle", + "PatchKBArticle", + "DeleteKBArticle", + "GetKBCategory", + "PostKBCategory", + "PatchKBCategory", + "DeleteKBCategory", + "GetKBArticleComment", + "PostKBArticleComment", + "PatchKBArticleComment", + "DeleteKBArticleComment", + "GetKBArticleRevision", +) + + +def test_kb_models_exported_from_top_level() -> None: + """Every KB model is importable from ``glpi_python_client``.""" + + for name in _KB_MODELS: + assert hasattr(glpi_python_client, name), name + assert name in glpi_python_client.__all__, name + + +def test_kb_models_exported_from_models_package() -> None: + """Every KB model is importable from ``glpi_python_client.models``.""" + + for name in _KB_MODELS: + assert hasattr(models, name), name + assert name in models.__all__, name From 5881bd89109b53ea7f26271f56307f04899cc176 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:40:54 +0200 Subject: [PATCH 09/18] feat(kb): add KBCategoryMixin and wire it into the client Also wires the mixin into AsyncGlpiClient's mixin list (async_client.py), which the plan's Global Constraints describe as automatic via AsyncBridge but which in practice duplicates the sync mixin list and required an explicit update to keep the parity test green. Co-Authored-By: Claude Opus 4.8 --- glpi_python_client/clients/api/__init__.py | 2 + .../clients/api/knowledgebase/__init__.py | 7 + .../clients/api/knowledgebase/_category.py | 118 ++++++++++++++++ .../api/knowledgebase/tests/__init__.py | 0 .../tests/test_category_mixin.py | 127 ++++++++++++++++++ glpi_python_client/clients/async_client.py | 2 + glpi_python_client/clients/sync_client.py | 2 + 7 files changed, 258 insertions(+) create mode 100644 glpi_python_client/clients/api/knowledgebase/__init__.py create mode 100644 glpi_python_client/clients/api/knowledgebase/_category.py create mode 100644 glpi_python_client/clients/api/knowledgebase/tests/__init__.py create mode 100644 glpi_python_client/clients/api/knowledgebase/tests/test_category_mixin.py diff --git a/glpi_python_client/clients/api/__init__.py b/glpi_python_client/clients/api/__init__.py index 926a5f0..e161681 100644 --- a/glpi_python_client/clients/api/__init__.py +++ b/glpi_python_client/clients/api/__init__.py @@ -24,6 +24,7 @@ TimelineDocumentMixin, ) from glpi_python_client.clients.api.dropdowns import LocationMixin +from glpi_python_client.clients.api.knowledgebase import KBCategoryMixin from glpi_python_client.clients.api.management import DocumentMixin from glpi_python_client.clients.api.plugins import PluginFieldsMixin @@ -31,6 +32,7 @@ "DocumentMixin", "EntityMixin", "FollowupMixin", + "KBCategoryMixin", "LocationMixin", "PluginFieldsMixin", "SolutionMixin", diff --git a/glpi_python_client/clients/api/knowledgebase/__init__.py b/glpi_python_client/clients/api/knowledgebase/__init__.py new file mode 100644 index 0000000..354e5a8 --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/__init__.py @@ -0,0 +1,7 @@ +"""GLPI ``/Knowledgebase`` mixins for the Synchronous client.""" + +from __future__ import annotations + +from glpi_python_client.clients.api.knowledgebase._category import KBCategoryMixin + +__all__ = ["KBCategoryMixin"] diff --git a/glpi_python_client/clients/api/knowledgebase/_category.py b/glpi_python_client/clients/api/knowledgebase/_category.py new file mode 100644 index 0000000..1f4557c --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/_category.py @@ -0,0 +1,118 @@ +"""Synchronous GLPI ``/Knowledgebase/Category`` mixin. + +The mixin exposes search, fetch, create, update, and delete helpers for the +GLPI knowledge base category resource using the contract-aligned +``api_schema`` models. +""" + +from __future__ import annotations + +from glpi_python_client.clients.commons._constants import ( + KB_CATEGORY_ENDPOINT, + GlpiId, +) +from glpi_python_client.clients.commons._transport import TransportMixin +from glpi_python_client.models.api_schema.knowledgebase._category import ( + DeleteKBCategory, + GetKBCategory, + PatchKBCategory, + PostKBCategory, +) + + +class KBCategoryMixin(TransportMixin): + """Synchronous CRUD helpers for ``/Knowledgebase/Category``.""" + + def search_kb_categories( + self, + rsql_filter: str = "", + *, + limit: int = 50, + start: int = 0, + sort: str | None = None, + language: str | None = None, + ) -> list[GetKBCategory]: + """Search GLPI knowledge base categories with an optional RSQL filter. + + Parameters + ---------- + rsql_filter : str, optional + Raw RSQL filter forwarded as the ``filter`` query parameter. + limit : int, optional + Maximum number of records returned by the GLPI server. + start : int, optional + Zero-based offset of the first record returned. + sort : str | None, optional + ``sort`` query parameter forwarded as-is, e.g. ``"name asc"``. + language : str | None, optional + GLPI language code forwarded as the ``language`` query + parameter to select a translated view. + + Returns + ------- + list[GetKBCategory] + Categories matching the filter. + """ + + params: dict[str, object] = {"limit": limit, "start": start} + if rsql_filter: + params["filter"] = rsql_filter + if sort: + params["sort"] = sort + if language: + params["language"] = language + return self._resource_list(KB_CATEGORY_ENDPOINT, GetKBCategory, params=params) + + def get_kb_category(self, category_id: GlpiId) -> GetKBCategory: + """Fetch one knowledge base category by identifier. + + Raises + ------ + ValueError + If the GLPI server returns a non-success HTTP status. + """ + + return self._resource_get( + f"{KB_CATEGORY_ENDPOINT}/{category_id}", + GetKBCategory, + failure_message=f"Failed to get KB category {category_id}", + ) + + def create_kb_category(self, category: PostKBCategory) -> int: + """Create one knowledge base category and return its new identifier.""" + + return self._resource_create( + KB_CATEGORY_ENDPOINT, + category, + failure_message="Failed to create KB category", + missing_message="GLPI KB category create response did not include an ID", + log_message_factory=lambda new_id: f"GLPI API created KB category {new_id}", + ) + + def update_kb_category( + self, category_id: GlpiId, category: PatchKBCategory + ) -> None: + """Update one knowledge base category with a partial body.""" + + self._resource_update( + f"{KB_CATEGORY_ENDPOINT}/{category_id}", + category, + failure_message=f"Failed to update KB category {category_id}", + log_message=f"GLPI API updated KB category {category_id}", + ) + + def delete_kb_category( + self, category_id: GlpiId, *, force: bool | None = None + ) -> None: + """Delete one knowledge base category by identifier.""" + + self._resource_delete( + f"{KB_CATEGORY_ENDPOINT}/{category_id}", + failure_message=f"Failed to delete KB category {category_id}", + log_message=f"GLPI API deleted KB category {category_id}", + force=force, + delete_model_cls=DeleteKBCategory, + ) + + +__all__ = ["KBCategoryMixin"] diff --git a/glpi_python_client/clients/api/knowledgebase/tests/__init__.py b/glpi_python_client/clients/api/knowledgebase/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/glpi_python_client/clients/api/knowledgebase/tests/test_category_mixin.py b/glpi_python_client/clients/api/knowledgebase/tests/test_category_mixin.py new file mode 100644 index 0000000..a20bedb --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/tests/test_category_mixin.py @@ -0,0 +1,127 @@ +"""Recorder-based unit tests for ``KBCategoryMixin``.""" + +from __future__ import annotations + +from typing import Any + +import pytest + +from glpi_python_client import GlpiClient, PatchKBCategory, PostKBCategory +from glpi_python_client.testing.utils import FakeResponse, make_client + + +class _Recorder: + """Transport recorder returning canned FakeResponse objects.""" + + def __init__(self, *, get_payload: Any = None) -> None: + self.calls: list[dict[str, Any]] = [] + self._get_payload = get_payload if get_payload is not None else [] + + def install(self, client: GlpiClient) -> None: + def _get( + endpoint: str, + params: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + { + "method": "GET", + "endpoint": endpoint, + "params": params, + "skip_entity": skip_entity, + } + ) + return FakeResponse(status_code=200, payload=self._get_payload) + + def _post( + endpoint: str, + json_body: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + {"method": "POST", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=201, payload={"id": 55}) + + def _patch( + endpoint: str, json_body: dict[str, Any] | None = None + ) -> FakeResponse: + self.calls.append( + {"method": "PATCH", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=204, payload={}) + + def _delete( + endpoint: str, + json_body: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + {"method": "DELETE", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=204, payload={}) + + client._get_request = _get # type: ignore[method-assign] + client._post_request = _post # type: ignore[method-assign] + client._update_request = _patch # type: ignore[method-assign] + client._delete_request = _delete # type: ignore[method-assign] + + +@pytest.fixture +def client() -> GlpiClient: + return make_client() + + +def test_search_kb_categories_forwards_filter_and_language(client: GlpiClient) -> None: + rec = _Recorder(get_payload=[{"id": 1, "name": "Network"}]) + rec.install(client) + result = client.search_kb_categories( + "name==Network", limit=5, start=2, sort="name asc", language="fr_FR" + ) + assert result[0].id == 1 + call = rec.calls[0] + assert call["endpoint"] == "Knowledgebase/Category" + assert call["params"]["filter"] == "name==Network" + assert call["params"]["limit"] == 5 + assert call["params"]["start"] == 2 + assert call["params"]["sort"] == "name asc" + assert call["params"]["language"] == "fr_FR" + + +def test_get_kb_category_targets_per_id_endpoint(client: GlpiClient) -> None: + rec = _Recorder(get_payload={"id": 9, "name": "Network"}) + rec.install(client) + category = client.get_kb_category(9) + assert category.id == 9 + assert rec.calls[0]["endpoint"] == "Knowledgebase/Category/9" + + +def test_create_kb_category_returns_new_id(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + new_id = client.create_kb_category(PostKBCategory(name="Network")) + assert new_id == 55 + call = rec.calls[0] + assert call["method"] == "POST" + assert call["endpoint"] == "Knowledgebase/Category" + assert call["json"] == {"name": "Network"} + + +def test_update_kb_category_sends_patch(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + client.update_kb_category(9, PatchKBCategory(comment="moved")) + call = rec.calls[0] + assert call["method"] == "PATCH" + assert call["endpoint"] == "Knowledgebase/Category/9" + assert call["json"] == {"comment": "moved"} + + +def test_delete_kb_category_with_force(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + client.delete_kb_category(9, force=True) + call = rec.calls[0] + assert call["method"] == "DELETE" + assert call["endpoint"] == "Knowledgebase/Category/9" + assert call["json"] == {"force": True} diff --git a/glpi_python_client/clients/async_client.py b/glpi_python_client/clients/async_client.py index 2ec00d6..0feac77 100644 --- a/glpi_python_client/clients/async_client.py +++ b/glpi_python_client/clients/async_client.py @@ -35,6 +35,7 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBCategoryMixin, LocationMixin, PluginFieldsMixin, SolutionMixin, @@ -68,6 +69,7 @@ class AsyncGlpiClient( # type: ignore[misc] UserMixin, EntityMixin, LocationMixin, + KBCategoryMixin, PluginFieldsMixin, AsyncTicketContextMixin, AsyncStatisticsMixin, diff --git a/glpi_python_client/clients/sync_client.py b/glpi_python_client/clients/sync_client.py index 2c89dcd..0d8f7f9 100644 --- a/glpi_python_client/clients/sync_client.py +++ b/glpi_python_client/clients/sync_client.py @@ -29,6 +29,7 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBCategoryMixin, LocationMixin, PluginFieldsMixin, SolutionMixin, @@ -58,6 +59,7 @@ class GlpiClient( UserMixin, EntityMixin, LocationMixin, + KBCategoryMixin, PluginFieldsMixin, TicketContextMixin, StatisticsMixin, From 1f7a4b1b2426f799d153ed63e579d4c94bbe5093 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:43:07 +0200 Subject: [PATCH 10/18] feat(kb): add KBArticleMixin and wire it into the client Also wires the mixin into AsyncGlpiClient's mixin list (async_client.py) alongside sync_client.py, matching the KBCategoryMixin wiring. Co-Authored-By: Claude Opus 4.8 --- glpi_python_client/clients/api/__init__.py | 6 +- .../clients/api/knowledgebase/__init__.py | 3 +- .../clients/api/knowledgebase/_article.py | 117 ++++++++++++++++ .../knowledgebase/tests/test_article_mixin.py | 130 ++++++++++++++++++ glpi_python_client/clients/async_client.py | 2 + glpi_python_client/clients/sync_client.py | 2 + 6 files changed, 258 insertions(+), 2 deletions(-) create mode 100644 glpi_python_client/clients/api/knowledgebase/_article.py create mode 100644 glpi_python_client/clients/api/knowledgebase/tests/test_article_mixin.py diff --git a/glpi_python_client/clients/api/__init__.py b/glpi_python_client/clients/api/__init__.py index e161681..1475a09 100644 --- a/glpi_python_client/clients/api/__init__.py +++ b/glpi_python_client/clients/api/__init__.py @@ -24,7 +24,10 @@ TimelineDocumentMixin, ) from glpi_python_client.clients.api.dropdowns import LocationMixin -from glpi_python_client.clients.api.knowledgebase import KBCategoryMixin +from glpi_python_client.clients.api.knowledgebase import ( + KBArticleMixin, + KBCategoryMixin, +) from glpi_python_client.clients.api.management import DocumentMixin from glpi_python_client.clients.api.plugins import PluginFieldsMixin @@ -32,6 +35,7 @@ "DocumentMixin", "EntityMixin", "FollowupMixin", + "KBArticleMixin", "KBCategoryMixin", "LocationMixin", "PluginFieldsMixin", diff --git a/glpi_python_client/clients/api/knowledgebase/__init__.py b/glpi_python_client/clients/api/knowledgebase/__init__.py index 354e5a8..1de1ddc 100644 --- a/glpi_python_client/clients/api/knowledgebase/__init__.py +++ b/glpi_python_client/clients/api/knowledgebase/__init__.py @@ -2,6 +2,7 @@ from __future__ import annotations +from glpi_python_client.clients.api.knowledgebase._article import KBArticleMixin from glpi_python_client.clients.api.knowledgebase._category import KBCategoryMixin -__all__ = ["KBCategoryMixin"] +__all__ = ["KBArticleMixin", "KBCategoryMixin"] diff --git a/glpi_python_client/clients/api/knowledgebase/_article.py b/glpi_python_client/clients/api/knowledgebase/_article.py new file mode 100644 index 0000000..883ac73 --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/_article.py @@ -0,0 +1,117 @@ +"""Synchronous GLPI ``/Knowledgebase/Article`` mixin. + +The mixin exposes search, fetch, create, update, and delete helpers for the +GLPI knowledge base article resource using the contract-aligned +``api_schema`` models. Article ``content`` and ``description`` round-trip +Markdown through GLPI's HTML wire format transparently. +""" + +from __future__ import annotations + +from glpi_python_client.clients.commons._constants import ( + KB_ARTICLE_ENDPOINT, + GlpiId, +) +from glpi_python_client.clients.commons._transport import TransportMixin +from glpi_python_client.models.api_schema.knowledgebase._article import ( + DeleteKBArticle, + GetKBArticle, + PatchKBArticle, + PostKBArticle, +) + + +class KBArticleMixin(TransportMixin): + """Synchronous CRUD helpers for ``/Knowledgebase/Article``.""" + + def search_kb_articles( + self, + rsql_filter: str = "", + *, + limit: int = 50, + start: int = 0, + sort: str | None = None, + language: str | None = None, + ) -> list[GetKBArticle]: + """Search GLPI knowledge base articles with an optional RSQL filter. + + Parameters + ---------- + rsql_filter : str, optional + Raw RSQL filter forwarded as the ``filter`` query parameter. + limit : int, optional + Maximum number of records returned by the GLPI server. + start : int, optional + Zero-based offset of the first record returned. + sort : str | None, optional + ``sort`` query parameter forwarded as-is. + language : str | None, optional + GLPI language code forwarded as the ``language`` query + parameter to select a translated view. + + Returns + ------- + list[GetKBArticle] + Articles matching the filter. + """ + + params: dict[str, object] = {"limit": limit, "start": start} + if rsql_filter: + params["filter"] = rsql_filter + if sort: + params["sort"] = sort + if language: + params["language"] = language + return self._resource_list(KB_ARTICLE_ENDPOINT, GetKBArticle, params=params) + + def get_kb_article(self, article_id: GlpiId) -> GetKBArticle: + """Fetch one knowledge base article by identifier. + + Raises + ------ + ValueError + If the GLPI server returns a non-success HTTP status. + """ + + return self._resource_get( + f"{KB_ARTICLE_ENDPOINT}/{article_id}", + GetKBArticle, + failure_message=f"Failed to get KB article {article_id}", + ) + + def create_kb_article(self, article: PostKBArticle) -> int: + """Create one knowledge base article and return its new identifier.""" + + return self._resource_create( + KB_ARTICLE_ENDPOINT, + article, + failure_message="Failed to create KB article", + missing_message="GLPI KB article create response did not include an ID", + log_message_factory=lambda new_id: f"GLPI API created KB article {new_id}", + ) + + def update_kb_article(self, article_id: GlpiId, article: PatchKBArticle) -> None: + """Update one knowledge base article with a partial body.""" + + self._resource_update( + f"{KB_ARTICLE_ENDPOINT}/{article_id}", + article, + failure_message=f"Failed to update KB article {article_id}", + log_message=f"GLPI API updated KB article {article_id}", + ) + + def delete_kb_article( + self, article_id: GlpiId, *, force: bool | None = None + ) -> None: + """Delete one knowledge base article by identifier.""" + + self._resource_delete( + f"{KB_ARTICLE_ENDPOINT}/{article_id}", + failure_message=f"Failed to delete KB article {article_id}", + log_message=f"GLPI API deleted KB article {article_id}", + force=force, + delete_model_cls=DeleteKBArticle, + ) + + +__all__ = ["KBArticleMixin"] diff --git a/glpi_python_client/clients/api/knowledgebase/tests/test_article_mixin.py b/glpi_python_client/clients/api/knowledgebase/tests/test_article_mixin.py new file mode 100644 index 0000000..1652680 --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/tests/test_article_mixin.py @@ -0,0 +1,130 @@ +"""Recorder-based unit tests for ``KBArticleMixin``.""" + +from __future__ import annotations + +from typing import Any + +import pytest + +from glpi_python_client import GlpiClient, PatchKBArticle, PostKBArticle +from glpi_python_client.testing.utils import FakeResponse, make_client + + +class _Recorder: + """Transport recorder returning canned FakeResponse objects.""" + + def __init__(self, *, get_payload: Any = None) -> None: + self.calls: list[dict[str, Any]] = [] + self._get_payload = get_payload if get_payload is not None else [] + + def install(self, client: GlpiClient) -> None: + def _get( + endpoint: str, + params: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + { + "method": "GET", + "endpoint": endpoint, + "params": params, + "skip_entity": skip_entity, + } + ) + return FakeResponse(status_code=200, payload=self._get_payload) + + def _post( + endpoint: str, + json_body: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + {"method": "POST", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=201, payload={"id": 88}) + + def _patch( + endpoint: str, json_body: dict[str, Any] | None = None + ) -> FakeResponse: + self.calls.append( + {"method": "PATCH", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=204, payload={}) + + def _delete( + endpoint: str, + json_body: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + {"method": "DELETE", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=204, payload={}) + + client._get_request = _get # type: ignore[method-assign] + client._post_request = _post # type: ignore[method-assign] + client._update_request = _patch # type: ignore[method-assign] + client._delete_request = _delete # type: ignore[method-assign] + + +@pytest.fixture +def client() -> GlpiClient: + return make_client() + + +def test_search_kb_articles_forwards_params(client: GlpiClient) -> None: + rec = _Recorder(get_payload=[{"id": 1, "name": "Reset", "content": "

c

"}]) + rec.install(client) + result = client.search_kb_articles( + "is_faq==1", limit=3, start=1, sort="date_mod desc", language="en_GB" + ) + assert result[0].id == 1 + call = rec.calls[0] + assert call["endpoint"] == "Knowledgebase/Article" + assert call["params"]["filter"] == "is_faq==1" + assert call["params"]["limit"] == 3 + assert call["params"]["start"] == 1 + assert call["params"]["sort"] == "date_mod desc" + assert call["params"]["language"] == "en_GB" + + +def test_get_kb_article_targets_per_id_endpoint(client: GlpiClient) -> None: + rec = _Recorder(get_payload={"id": 5, "name": "Reset", "content": "

c

"}) + rec.install(client) + article = client.get_kb_article(5) + assert article.id == 5 + assert rec.calls[0]["endpoint"] == "Knowledgebase/Article/5" + + +def test_create_kb_article_renders_markdown_and_returns_id(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + new_id = client.create_kb_article( + PostKBArticle(name="How to", content="Run **passwd**") + ) + assert new_id == 88 + call = rec.calls[0] + assert call["method"] == "POST" + assert call["endpoint"] == "Knowledgebase/Article" + assert call["json"]["name"] == "How to" + assert "passwd" in call["json"]["content"] + + +def test_update_kb_article_sends_patch(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + client.update_kb_article(5, PatchKBArticle(is_pinned=True)) + call = rec.calls[0] + assert call["method"] == "PATCH" + assert call["endpoint"] == "Knowledgebase/Article/5" + assert call["json"] == {"is_pinned": True} + + +def test_delete_kb_article_with_force(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + client.delete_kb_article(5, force=True) + call = rec.calls[0] + assert call["method"] == "DELETE" + assert call["endpoint"] == "Knowledgebase/Article/5" + assert call["json"] == {"force": True} diff --git a/glpi_python_client/clients/async_client.py b/glpi_python_client/clients/async_client.py index 0feac77..4c9474a 100644 --- a/glpi_python_client/clients/async_client.py +++ b/glpi_python_client/clients/async_client.py @@ -35,6 +35,7 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBArticleMixin, KBCategoryMixin, LocationMixin, PluginFieldsMixin, @@ -70,6 +71,7 @@ class AsyncGlpiClient( # type: ignore[misc] EntityMixin, LocationMixin, KBCategoryMixin, + KBArticleMixin, PluginFieldsMixin, AsyncTicketContextMixin, AsyncStatisticsMixin, diff --git a/glpi_python_client/clients/sync_client.py b/glpi_python_client/clients/sync_client.py index 0d8f7f9..3c58626 100644 --- a/glpi_python_client/clients/sync_client.py +++ b/glpi_python_client/clients/sync_client.py @@ -29,6 +29,7 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBArticleMixin, KBCategoryMixin, LocationMixin, PluginFieldsMixin, @@ -60,6 +61,7 @@ class GlpiClient( EntityMixin, LocationMixin, KBCategoryMixin, + KBArticleMixin, PluginFieldsMixin, TicketContextMixin, StatisticsMixin, From 8e8d87970c254a671f34dfa41bfae29fa43b26d4 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:45:39 +0200 Subject: [PATCH 11/18] feat(kb): add KBArticleCommentMixin and wire it into the client Also wires the mixin into AsyncGlpiClient's mixin list (async_client.py) alongside sync_client.py. Co-Authored-By: Claude Opus 4.8 --- glpi_python_client/clients/api/__init__.py | 2 + .../clients/api/knowledgebase/__init__.py | 5 +- .../clients/api/knowledgebase/_comment.py | 107 ++++++++++++++++ .../knowledgebase/tests/test_comment_mixin.py | 119 ++++++++++++++++++ glpi_python_client/clients/async_client.py | 2 + glpi_python_client/clients/sync_client.py | 2 + 6 files changed, 236 insertions(+), 1 deletion(-) create mode 100644 glpi_python_client/clients/api/knowledgebase/_comment.py create mode 100644 glpi_python_client/clients/api/knowledgebase/tests/test_comment_mixin.py diff --git a/glpi_python_client/clients/api/__init__.py b/glpi_python_client/clients/api/__init__.py index 1475a09..251387a 100644 --- a/glpi_python_client/clients/api/__init__.py +++ b/glpi_python_client/clients/api/__init__.py @@ -25,6 +25,7 @@ ) from glpi_python_client.clients.api.dropdowns import LocationMixin from glpi_python_client.clients.api.knowledgebase import ( + KBArticleCommentMixin, KBArticleMixin, KBCategoryMixin, ) @@ -35,6 +36,7 @@ "DocumentMixin", "EntityMixin", "FollowupMixin", + "KBArticleCommentMixin", "KBArticleMixin", "KBCategoryMixin", "LocationMixin", diff --git a/glpi_python_client/clients/api/knowledgebase/__init__.py b/glpi_python_client/clients/api/knowledgebase/__init__.py index 1de1ddc..8e7f80e 100644 --- a/glpi_python_client/clients/api/knowledgebase/__init__.py +++ b/glpi_python_client/clients/api/knowledgebase/__init__.py @@ -4,5 +4,8 @@ from glpi_python_client.clients.api.knowledgebase._article import KBArticleMixin from glpi_python_client.clients.api.knowledgebase._category import KBCategoryMixin +from glpi_python_client.clients.api.knowledgebase._comment import ( + KBArticleCommentMixin, +) -__all__ = ["KBArticleMixin", "KBCategoryMixin"] +__all__ = ["KBArticleCommentMixin", "KBArticleMixin", "KBCategoryMixin"] diff --git a/glpi_python_client/clients/api/knowledgebase/_comment.py b/glpi_python_client/clients/api/knowledgebase/_comment.py new file mode 100644 index 0000000..62dfa03 --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/_comment.py @@ -0,0 +1,107 @@ +"""Synchronous GLPI ``/Knowledgebase/Article/{id}/Comment`` mixin. + +The mixin exposes list, fetch, create, update, and delete helpers for the +GLPI knowledge base article comment endpoint using the contract-aligned +``api_schema`` models. +""" + +from __future__ import annotations + +from glpi_python_client.clients.commons._constants import ( + KB_ARTICLE_ENDPOINT, + KB_COMMENT_SUFFIX, + GlpiId, +) +from glpi_python_client.clients.commons._transport import TransportMixin +from glpi_python_client.models.api_schema.knowledgebase._comment import ( + DeleteKBArticleComment, + GetKBArticleComment, + PatchKBArticleComment, + PostKBArticleComment, +) + + +class KBArticleCommentMixin(TransportMixin): + """Synchronous CRUD helpers for KB article comments.""" + + def list_kb_article_comments(self, article_id: GlpiId) -> list[GetKBArticleComment]: + """List every comment attached to one knowledge base article.""" + + return self._resource_list( + f"{KB_ARTICLE_ENDPOINT}/{article_id}/{KB_COMMENT_SUFFIX}", + GetKBArticleComment, + failure_message=f"Failed to list comments for KB article {article_id}", + ) + + def get_kb_article_comment( + self, article_id: GlpiId, comment_id: GlpiId + ) -> GetKBArticleComment: + """Fetch one knowledge base article comment by identifier.""" + + return self._resource_get( + f"{KB_ARTICLE_ENDPOINT}/{article_id}/{KB_COMMENT_SUFFIX}/{comment_id}", + GetKBArticleComment, + failure_message=( + f"Failed to get comment {comment_id} on KB article {article_id}" + ), + ) + + def create_kb_article_comment( + self, article_id: GlpiId, comment: PostKBArticleComment + ) -> int: + """Create one comment on a knowledge base article.""" + + return self._resource_create( + f"{KB_ARTICLE_ENDPOINT}/{article_id}/{KB_COMMENT_SUFFIX}", + comment, + failure_message=f"Failed to create comment on KB article {article_id}", + missing_message="GLPI KB comment create response did not include an ID", + log_message_factory=( + lambda new_id: ( + f"GLPI API created comment {new_id} on KB article {article_id}" + ) + ), + ) + + def update_kb_article_comment( + self, + article_id: GlpiId, + comment_id: GlpiId, + comment: PatchKBArticleComment, + ) -> None: + """Update one knowledge base article comment with a partial body.""" + + self._resource_update( + f"{KB_ARTICLE_ENDPOINT}/{article_id}/{KB_COMMENT_SUFFIX}/{comment_id}", + comment, + failure_message=( + f"Failed to update comment {comment_id} on KB article {article_id}" + ), + log_message=( + f"GLPI API updated comment {comment_id} on KB article {article_id}" + ), + ) + + def delete_kb_article_comment( + self, + article_id: GlpiId, + comment_id: GlpiId, + *, + force: bool | None = None, + ) -> None: + """Delete one knowledge base article comment by identifier.""" + + self._resource_delete( + f"{KB_ARTICLE_ENDPOINT}/{article_id}/{KB_COMMENT_SUFFIX}/{comment_id}", + failure_message=( + f"Failed to delete comment {comment_id} on KB article {article_id}" + ), + log_message=( + f"GLPI API deleted comment {comment_id} on KB article {article_id}" + ), + force=force, + delete_model_cls=DeleteKBArticleComment, + ) + + +__all__ = ["KBArticleCommentMixin"] diff --git a/glpi_python_client/clients/api/knowledgebase/tests/test_comment_mixin.py b/glpi_python_client/clients/api/knowledgebase/tests/test_comment_mixin.py new file mode 100644 index 0000000..50f393a --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/tests/test_comment_mixin.py @@ -0,0 +1,119 @@ +"""Recorder-based unit tests for ``KBArticleCommentMixin``.""" + +from __future__ import annotations + +from typing import Any + +import pytest + +from glpi_python_client import ( + GlpiClient, + PatchKBArticleComment, + PostKBArticleComment, +) +from glpi_python_client.testing.utils import FakeResponse, make_client + + +class _Recorder: + def __init__(self, *, get_payload: Any = None) -> None: + self.calls: list[dict[str, Any]] = [] + self._get_payload = get_payload if get_payload is not None else [] + + def install(self, client: GlpiClient) -> None: + def _get( + endpoint: str, + params: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + { + "method": "GET", + "endpoint": endpoint, + "params": params, + "skip_entity": skip_entity, + } + ) + return FakeResponse(status_code=200, payload=self._get_payload) + + def _post( + endpoint: str, + json_body: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + {"method": "POST", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=201, payload={"id": 77}) + + def _patch( + endpoint: str, json_body: dict[str, Any] | None = None + ) -> FakeResponse: + self.calls.append( + {"method": "PATCH", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=204, payload={}) + + def _delete( + endpoint: str, + json_body: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append( + {"method": "DELETE", "endpoint": endpoint, "json": json_body} + ) + return FakeResponse(status_code=204, payload={}) + + client._get_request = _get # type: ignore[method-assign] + client._post_request = _post # type: ignore[method-assign] + client._update_request = _patch # type: ignore[method-assign] + client._delete_request = _delete # type: ignore[method-assign] + + +@pytest.fixture +def client() -> GlpiClient: + return make_client() + + +def test_list_kb_article_comments_targets_nested_endpoint(client: GlpiClient) -> None: + rec = _Recorder(get_payload=[{"id": 1, "comment": "hi"}]) + rec.install(client) + comments = client.list_kb_article_comments(5) + assert comments[0].id == 1 + assert rec.calls[0]["endpoint"] == "Knowledgebase/Article/5/Comment" + + +def test_get_kb_article_comment_targets_per_id_endpoint(client: GlpiClient) -> None: + rec = _Recorder(get_payload={"id": 7, "comment": "hi"}) + rec.install(client) + comment = client.get_kb_article_comment(5, 7) + assert comment.id == 7 + assert rec.calls[0]["endpoint"] == "Knowledgebase/Article/5/Comment/7" + + +def test_create_kb_article_comment_returns_id(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + new_id = client.create_kb_article_comment(5, PostKBArticleComment(comment="hi")) + assert new_id == 77 + call = rec.calls[0] + assert call["endpoint"] == "Knowledgebase/Article/5/Comment" + assert call["json"] == {"comment": "hi"} + + +def test_update_kb_article_comment_sends_patch(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + client.update_kb_article_comment(5, 7, PatchKBArticleComment(comment="edited")) + call = rec.calls[0] + assert call["method"] == "PATCH" + assert call["endpoint"] == "Knowledgebase/Article/5/Comment/7" + + +def test_delete_kb_article_comment_with_force(client: GlpiClient) -> None: + rec = _Recorder() + rec.install(client) + client.delete_kb_article_comment(5, 7, force=True) + call = rec.calls[0] + assert call["method"] == "DELETE" + assert call["endpoint"] == "Knowledgebase/Article/5/Comment/7" + assert call["json"] == {"force": True} diff --git a/glpi_python_client/clients/async_client.py b/glpi_python_client/clients/async_client.py index 4c9474a..94d9da3 100644 --- a/glpi_python_client/clients/async_client.py +++ b/glpi_python_client/clients/async_client.py @@ -35,6 +35,7 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBArticleCommentMixin, KBArticleMixin, KBCategoryMixin, LocationMixin, @@ -72,6 +73,7 @@ class AsyncGlpiClient( # type: ignore[misc] LocationMixin, KBCategoryMixin, KBArticleMixin, + KBArticleCommentMixin, PluginFieldsMixin, AsyncTicketContextMixin, AsyncStatisticsMixin, diff --git a/glpi_python_client/clients/sync_client.py b/glpi_python_client/clients/sync_client.py index 3c58626..cd797a5 100644 --- a/glpi_python_client/clients/sync_client.py +++ b/glpi_python_client/clients/sync_client.py @@ -29,6 +29,7 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBArticleCommentMixin, KBArticleMixin, KBCategoryMixin, LocationMixin, @@ -62,6 +63,7 @@ class GlpiClient( LocationMixin, KBCategoryMixin, KBArticleMixin, + KBArticleCommentMixin, PluginFieldsMixin, TicketContextMixin, StatisticsMixin, From 8379e708d0b8a62e8416a7004c652855fceebebf Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:50:20 +0200 Subject: [PATCH 12/18] feat(kb): add read-only KBArticleRevisionMixin and wire it into the client Also wires the mixin into AsyncGlpiClient's mixin list (async_client.py) alongside sync_client.py. Co-Authored-By: Claude Opus 4.8 --- glpi_python_client/clients/api/__init__.py | 2 + .../clients/api/knowledgebase/__init__.py | 10 ++- .../clients/api/knowledgebase/_revision.py | 70 +++++++++++++++++++ .../tests/test_revision_mixin.py | 64 +++++++++++++++++ glpi_python_client/clients/async_client.py | 2 + glpi_python_client/clients/sync_client.py | 2 + 6 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 glpi_python_client/clients/api/knowledgebase/_revision.py create mode 100644 glpi_python_client/clients/api/knowledgebase/tests/test_revision_mixin.py diff --git a/glpi_python_client/clients/api/__init__.py b/glpi_python_client/clients/api/__init__.py index 251387a..8c43571 100644 --- a/glpi_python_client/clients/api/__init__.py +++ b/glpi_python_client/clients/api/__init__.py @@ -27,6 +27,7 @@ from glpi_python_client.clients.api.knowledgebase import ( KBArticleCommentMixin, KBArticleMixin, + KBArticleRevisionMixin, KBCategoryMixin, ) from glpi_python_client.clients.api.management import DocumentMixin @@ -38,6 +39,7 @@ "FollowupMixin", "KBArticleCommentMixin", "KBArticleMixin", + "KBArticleRevisionMixin", "KBCategoryMixin", "LocationMixin", "PluginFieldsMixin", diff --git a/glpi_python_client/clients/api/knowledgebase/__init__.py b/glpi_python_client/clients/api/knowledgebase/__init__.py index 8e7f80e..2bed9e8 100644 --- a/glpi_python_client/clients/api/knowledgebase/__init__.py +++ b/glpi_python_client/clients/api/knowledgebase/__init__.py @@ -7,5 +7,13 @@ from glpi_python_client.clients.api.knowledgebase._comment import ( KBArticleCommentMixin, ) +from glpi_python_client.clients.api.knowledgebase._revision import ( + KBArticleRevisionMixin, +) -__all__ = ["KBArticleCommentMixin", "KBArticleMixin", "KBCategoryMixin"] +__all__ = [ + "KBArticleCommentMixin", + "KBArticleMixin", + "KBArticleRevisionMixin", + "KBCategoryMixin", +] diff --git a/glpi_python_client/clients/api/knowledgebase/_revision.py b/glpi_python_client/clients/api/knowledgebase/_revision.py new file mode 100644 index 0000000..84fcfe4 --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/_revision.py @@ -0,0 +1,70 @@ +"""Synchronous GLPI ``/Knowledgebase/Article/{id}/Revision`` mixin. + +Revisions are read-only. The GLPI contract exposes both a default-language +listing (``.../Revision``) and a language-scoped listing +(``.../{language}/Revision``); this mixin folds both into two helpers that +take an optional ``language`` argument and build the matching path. +""" + +from __future__ import annotations + +from glpi_python_client.clients.commons._constants import ( + KB_ARTICLE_ENDPOINT, + KB_REVISION_SUFFIX, + GlpiId, +) +from glpi_python_client.clients.commons._transport import TransportMixin +from glpi_python_client.models.api_schema.knowledgebase._revision import ( + GetKBArticleRevision, +) + + +class KBArticleRevisionMixin(TransportMixin): + """Synchronous read helpers for KB article revisions.""" + + def _revision_base(self, article_id: GlpiId, language: str | None) -> str: + """Return the revision collection path, language-scoped when given.""" + + if language: + return f"{KB_ARTICLE_ENDPOINT}/{article_id}/{language}/{KB_REVISION_SUFFIX}" + return f"{KB_ARTICLE_ENDPOINT}/{article_id}/{KB_REVISION_SUFFIX}" + + def list_kb_article_revisions( + self, article_id: GlpiId, *, language: str | None = None + ) -> list[GetKBArticleRevision]: + """List revisions of one knowledge base article. + + Parameters + ---------- + article_id : GlpiId + Numeric identifier of the parent article. + language : str | None, optional + When provided, list revisions for that GLPI language code using + the language-scoped contract path. + """ + + return self._resource_list( + self._revision_base(article_id, language), + GetKBArticleRevision, + failure_message=f"Failed to list revisions for KB article {article_id}", + ) + + def get_kb_article_revision( + self, + article_id: GlpiId, + revision: int, + *, + language: str | None = None, + ) -> GetKBArticleRevision: + """Fetch one revision of a knowledge base article by revision number.""" + + return self._resource_get( + f"{self._revision_base(article_id, language)}/{revision}", + GetKBArticleRevision, + failure_message=( + f"Failed to get revision {revision} of KB article {article_id}" + ), + ) + + +__all__ = ["KBArticleRevisionMixin"] diff --git a/glpi_python_client/clients/api/knowledgebase/tests/test_revision_mixin.py b/glpi_python_client/clients/api/knowledgebase/tests/test_revision_mixin.py new file mode 100644 index 0000000..2dfd4c7 --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/tests/test_revision_mixin.py @@ -0,0 +1,64 @@ +"""Recorder-based unit tests for the read-only ``KBArticleRevisionMixin``.""" + +from __future__ import annotations + +from typing import Any + +import pytest + +from glpi_python_client import GlpiClient +from glpi_python_client.testing.utils import FakeResponse, make_client + + +class _Recorder: + def __init__(self, *, get_payload: Any = None) -> None: + self.calls: list[dict[str, Any]] = [] + self._get_payload = get_payload if get_payload is not None else [] + + def install(self, client: GlpiClient) -> None: + def _get( + endpoint: str, + params: dict[str, Any] | None = None, + skip_entity: bool = False, + ) -> FakeResponse: + self.calls.append({"method": "GET", "endpoint": endpoint, "params": params}) + return FakeResponse(status_code=200, payload=self._get_payload) + + client._get_request = _get # type: ignore[method-assign] + + +@pytest.fixture +def client() -> GlpiClient: + return make_client() + + +def test_list_kb_article_revisions_default_language(client: GlpiClient) -> None: + rec = _Recorder(get_payload=[{"id": 11, "revision": 2}]) + rec.install(client) + revisions = client.list_kb_article_revisions(5) + assert revisions[0].revision == 2 + assert rec.calls[0]["endpoint"] == "Knowledgebase/Article/5/Revision" + + +def test_list_kb_article_revisions_with_language_uses_path_segment( + client: GlpiClient, +) -> None: + rec = _Recorder(get_payload=[{"id": 11, "revision": 2}]) + rec.install(client) + client.list_kb_article_revisions(5, language="fr_FR") + assert rec.calls[0]["endpoint"] == "Knowledgebase/Article/5/fr_FR/Revision" + + +def test_get_kb_article_revision_default_language(client: GlpiClient) -> None: + rec = _Recorder(get_payload={"id": 11, "revision": 2}) + rec.install(client) + revision = client.get_kb_article_revision(5, 2) + assert revision.revision == 2 + assert rec.calls[0]["endpoint"] == "Knowledgebase/Article/5/Revision/2" + + +def test_get_kb_article_revision_with_language(client: GlpiClient) -> None: + rec = _Recorder(get_payload={"id": 11, "revision": 2}) + rec.install(client) + client.get_kb_article_revision(5, 2, language="fr_FR") + assert rec.calls[0]["endpoint"] == "Knowledgebase/Article/5/fr_FR/Revision/2" diff --git a/glpi_python_client/clients/async_client.py b/glpi_python_client/clients/async_client.py index 94d9da3..4cc34fd 100644 --- a/glpi_python_client/clients/async_client.py +++ b/glpi_python_client/clients/async_client.py @@ -37,6 +37,7 @@ FollowupMixin, KBArticleCommentMixin, KBArticleMixin, + KBArticleRevisionMixin, KBCategoryMixin, LocationMixin, PluginFieldsMixin, @@ -74,6 +75,7 @@ class AsyncGlpiClient( # type: ignore[misc] KBCategoryMixin, KBArticleMixin, KBArticleCommentMixin, + KBArticleRevisionMixin, PluginFieldsMixin, AsyncTicketContextMixin, AsyncStatisticsMixin, diff --git a/glpi_python_client/clients/sync_client.py b/glpi_python_client/clients/sync_client.py index cd797a5..814d051 100644 --- a/glpi_python_client/clients/sync_client.py +++ b/glpi_python_client/clients/sync_client.py @@ -31,6 +31,7 @@ FollowupMixin, KBArticleCommentMixin, KBArticleMixin, + KBArticleRevisionMixin, KBCategoryMixin, LocationMixin, PluginFieldsMixin, @@ -64,6 +65,7 @@ class GlpiClient( KBCategoryMixin, KBArticleMixin, KBArticleCommentMixin, + KBArticleRevisionMixin, PluginFieldsMixin, TicketContextMixin, StatisticsMixin, From b0bdbd84bdb7ed0490b7e77bc1028405ad950c86 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 16:52:55 +0200 Subject: [PATCH 13/18] test(kb): cover failure-status branches for every KB helper Co-Authored-By: Claude Opus 4.8 --- .../tests/test_kb_failure_paths.py | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py diff --git a/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py b/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py new file mode 100644 index 0000000..00ef06b --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py @@ -0,0 +1,80 @@ +"""Failure-status branch coverage for the Knowledge base mixins.""" + +from __future__ import annotations + +from collections.abc import Callable +from typing import Any + +import pytest + +from glpi_python_client import ( + GlpiClient, + PatchKBArticle, + PatchKBArticleComment, + PatchKBCategory, +) +from glpi_python_client.testing.utils import FakeResponse, make_client + + +class _FailRecorder: + """Transport stub returning a fixed non-success status for every verb.""" + + def __init__(self, status: int) -> None: + self.status = status + + def install(self, client: GlpiClient) -> None: + def _resp(*args: Any, **kwargs: Any) -> FakeResponse: + return FakeResponse(status_code=self.status, payload={"err": "x"}) + + client._get_request = _resp # type: ignore[method-assign] + client._post_request = _resp # type: ignore[method-assign] + client._update_request = _resp # type: ignore[method-assign] + client._delete_request = _resp # type: ignore[method-assign] + + +@pytest.fixture +def client() -> GlpiClient: + return make_client() + + +_READ_CALLS: list[Callable[[GlpiClient], Any]] = [ + lambda c: c.get_kb_article(1), + lambda c: c.get_kb_category(1), + lambda c: c.list_kb_article_comments(1), + lambda c: c.get_kb_article_comment(1, 2), + lambda c: c.list_kb_article_revisions(1), + lambda c: c.get_kb_article_revision(1, 2), +] + +_WRITE_CALLS: list[Callable[[GlpiClient], Any]] = [ + lambda c: c.update_kb_article(1, PatchKBArticle(name="x")), + lambda c: c.update_kb_category(1, PatchKBCategory(name="x")), + lambda c: c.update_kb_article_comment(1, 2, PatchKBArticleComment(comment="x")), +] + +_DELETE_CALLS: list[Callable[[GlpiClient], Any]] = [ + lambda c: c.delete_kb_article(1, force=True), + lambda c: c.delete_kb_category(1, force=True), + lambda c: c.delete_kb_article_comment(1, 2, force=True), +] + + +@pytest.mark.parametrize("call", _READ_CALLS) +def test_read_helpers_raise_on_failure(client: GlpiClient, call: Callable) -> None: + _FailRecorder(404).install(client) + with pytest.raises(ValueError): + call(client) + + +@pytest.mark.parametrize("call", _WRITE_CALLS) +def test_update_helpers_raise_on_failure(client: GlpiClient, call: Callable) -> None: + _FailRecorder(500).install(client) + with pytest.raises(ValueError): + call(client) + + +@pytest.mark.parametrize("call", _DELETE_CALLS) +def test_delete_helpers_raise_on_failure(client: GlpiClient, call: Callable) -> None: + _FailRecorder(500).install(client) + with pytest.raises(ValueError): + call(client) From 93009db17b0adb3c7b931c788e9912f5efd85ff2 Mon Sep 17 00:00:00 2001 From: baraline Date: Tue, 7 Jul 2026 17:02:05 +0200 Subject: [PATCH 14/18] test(kb): add capability-probe-skipped KB integration lifecycle tests Co-Authored-By: Claude Opus 4.8 --- integration_tests/test_integration_kb.py | 117 +++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 integration_tests/test_integration_kb.py diff --git a/integration_tests/test_integration_kb.py b/integration_tests/test_integration_kb.py new file mode 100644 index 0000000..7bebe97 --- /dev/null +++ b/integration_tests/test_integration_kb.py @@ -0,0 +1,117 @@ +"""Integration tests for the Knowledge base endpoints. + +These tests target a live GLPI instance and are skipped automatically when +the Knowledgebase API is not served (it was introduced in High-Level API +2.2.0; instances on 2.1.0 do not expose ``/Knowledgebase/*``). The probe +inspects the live ``/doc.json`` schema at session scope. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from uuid import uuid4 + +import pytest + +from glpi_python_client import ( + GlpiClient, + PatchKBArticle, + PostKBArticle, + PostKBArticleComment, + PostKBCategory, +) +from integration_tests.test_integration import _LiveGlpiConfig, _load_config + +pytestmark = pytest.mark.integration + + +@pytest.fixture(scope="session") +def live_config() -> _LiveGlpiConfig: + """Reuse the shared live-GLPI configuration loader.""" + + return _load_config() + + +@pytest.fixture +def client(live_config: _LiveGlpiConfig) -> Iterator[GlpiClient]: + """Yield one configured sync client and close it on teardown.""" + + glpi_client = GlpiClient( + glpi_api_url=live_config.api_url, + client_id=live_config.client_id, + client_secret=live_config.client_secret, + username=live_config.username, + password=live_config.password, + glpi_entity=live_config.entity, + glpi_profile=live_config.profile, + entity_recursive=live_config.entity_recursive, + verify_ssl=live_config.verify_ssl, + ) + try: + yield glpi_client + finally: + glpi_client.close() + + +@pytest.fixture +def kb_available(client: GlpiClient) -> None: + """Skip the test when the live instance does not serve the KB API.""" + + response = client._get_request("doc.json", skip_entity=True) + paths = response.json().get("paths", {}) + if not any(str(path).startswith("/Knowledgebase") for path in paths): + version = response.json().get("info", {}).get("version", "unknown") + pytest.skip( + "Knowledgebase API not served by this instance " + f"(High-Level API {version}; needs >= 2.2.0)." + ) + + +def _suffix() -> str: + return uuid4().hex[:12] + + +def test_kb_category_lifecycle(client: GlpiClient, kb_available: None) -> None: + """Create, fetch, and delete one knowledge base category.""" + + suffix = _suffix() + category_id = client.create_kb_category( + PostKBCategory(name=f"itest-kbcat-{suffix}") + ) + try: + fetched = client.get_kb_category(category_id) + assert fetched.id == category_id + finally: + client.delete_kb_category(category_id, force=True) + + +def test_kb_article_lifecycle(client: GlpiClient, kb_available: None) -> None: + """Create an article, edit it, add a comment, read revisions, delete.""" + + suffix = _suffix() + article_id = client.create_kb_article( + PostKBArticle( + name=f"itest-kb-{suffix}", + content=f"Run **passwd** to reset ({suffix}).", + ) + ) + try: + fetched = client.get_kb_article(article_id) + assert fetched.id == article_id + assert "passwd" in (fetched.content or "") + + client.update_kb_article(article_id, PatchKBArticle(is_pinned=True)) + + comment_id = client.create_kb_article_comment( + article_id, PostKBArticleComment(comment=f"itest comment {suffix}") + ) + comments = client.list_kb_article_comments(article_id) + assert any(c.id == comment_id for c in comments) + + revisions = client.list_kb_article_revisions(article_id) + assert isinstance(revisions, list) + + results = client.search_kb_articles(f"name==itest-kb-{suffix}") + assert any(a.id == article_id for a in results) + finally: + client.delete_kb_article(article_id, force=True) From 4a92d7e2eea4ae313c2cab479ac363eb76cda053 Mon Sep 17 00:00:00 2001 From: baraline Date: Wed, 8 Jul 2026 10:21:06 +0200 Subject: [PATCH 15/18] docs(kb): document the Knowledge base models and helpers Co-Authored-By: Claude Opus 4.8 --- docs/api_reference.rst | 77 ++++++++++++++++++++++++++++++++++++++++++ docs/user_guide.rst | 55 ++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) diff --git a/docs/api_reference.rst b/docs/api_reference.rst index ed11a2c..7df5bcd 100644 --- a/docs/api_reference.rst +++ b/docs/api_reference.rst @@ -266,6 +266,83 @@ Locations :undoc-members: :show-inheritance: +Knowledge Base — Articles +------------------------- + +.. autoclass:: GetKBArticle + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: PostKBArticle + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: PatchKBArticle + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: DeleteKBArticle + :members: + :undoc-members: + :show-inheritance: + +Knowledge Base — Article Comments +--------------------------------- + +.. autoclass:: GetKBArticleComment + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: PostKBArticleComment + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: PatchKBArticleComment + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: DeleteKBArticleComment + :members: + :undoc-members: + :show-inheritance: + +Knowledge Base — Article Revisions +---------------------------------- + +.. autoclass:: GetKBArticleRevision + :members: + :undoc-members: + :show-inheritance: + +Knowledge Base — Categories +--------------------------- + +.. autoclass:: GetKBCategory + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: PostKBCategory + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: PatchKBCategory + :members: + :undoc-members: + :show-inheritance: + +.. autoclass:: DeleteKBCategory + :members: + :undoc-members: + :show-inheritance: + Entities -------- diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 896e4ec..d87797e 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -586,6 +586,61 @@ Example output:: the client (``v1_base_url`` and ``v1_user_token``) because the GLPI v2 contract does not advertise a binary upload endpoint. +Knowledge base +~~~~~~~~~~~~~~ + +The knowledge base mixins map to ``/Knowledgebase``. Articles and +categories expose the ``search_ / get_ / create_ / update_ / delete_`` +shape; comments are nested under an article; revisions are read-only. +Article ``content`` and ``description`` accept and return Markdown. + +.. note:: + + The Knowledge base API was introduced in the GLPI High-Level API + **2.2.0**. Instances serving an older API version (e.g. 2.1.0) do not + expose ``/Knowledgebase`` and these helpers will raise a + ``ValueError`` (HTTP 404). + +.. code-block:: python + + from glpi_python_client import ( + PostKBArticle, + PostKBArticleComment, + PostKBCategory, + ) + + category_id = client.create_kb_category( + PostKBCategory(name="Networking") + ) + article_id = client.create_kb_article( + PostKBArticle( + name="Reset a Wi-Fi controller", + content="Hold **reset** for 10s, then re-provision.", + categories=[{"id": category_id}], + is_faq=True, + ) + ) + client.create_kb_article_comment( + article_id, + PostKBArticleComment(comment="Confirmed on firmware 4.2."), + ) + + article = client.get_kb_article(article_id) + print(article.id, article.name) + + faq = client.search_kb_articles("is_faq==1", limit=10) + for entry in faq: + print(entry.id, entry.name) + + revisions = client.list_kb_article_revisions(article_id) + print(len(revisions), "revision(s)") + +Example output:: + + 42 Reset a Wi-Fi controller + 42 Reset a Wi-Fi controller + 1 revision(s) + Enums ~~~~~ From 16728e89ecfa6925c668c132a66742795054c031 Mon Sep 17 00:00:00 2001 From: baraline Date: Thu, 9 Jul 2026 09:39:04 +0200 Subject: [PATCH 16/18] fix(kb): align write models with the contract; harden tests Adversarial review + live GLPI 2.3.0 validation follow-ups: - PostKBArticle: expose writable `user` (contract marks user.id rw; the spec's exclusion list never covered it). - PostKBArticleComment: expose writable `user`, drop read-only `parent`. - Strengthen the inbound HTML->Markdown assertions (were vacuous: raw HTML also contained the probe string) on article + revision Get models. - Add POST/create failure-status coverage for every KB resource. - Use @pytest.mark.usefixtures for the KB integration capability probe. Co-Authored-By: Claude Opus 4.8 --- .../tests/test_kb_failure_paths.py | 16 ++++++++++++++++ .../api_schema/knowledgebase/_article.py | 15 +++++++++------ .../api_schema/knowledgebase/_comment.py | 15 +++++++++------ .../knowledgebase/tests/test_article_schema.py | 18 ++++++++++++++++-- .../knowledgebase/tests/test_comment_schema.py | 18 +++++++++++++++--- .../tests/test_revision_schema.py | 5 ++++- integration_tests/test_integration_kb.py | 6 ++++-- 7 files changed, 73 insertions(+), 20 deletions(-) diff --git a/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py b/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py index 00ef06b..025efbd 100644 --- a/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py +++ b/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py @@ -12,6 +12,9 @@ PatchKBArticle, PatchKBArticleComment, PatchKBCategory, + PostKBArticle, + PostKBArticleComment, + PostKBCategory, ) from glpi_python_client.testing.utils import FakeResponse, make_client @@ -58,6 +61,12 @@ def client() -> GlpiClient: lambda c: c.delete_kb_article_comment(1, 2, force=True), ] +_CREATE_CALLS: list[Callable[[GlpiClient], Any]] = [ + lambda c: c.create_kb_article(PostKBArticle(name="x")), + lambda c: c.create_kb_category(PostKBCategory(name="x")), + lambda c: c.create_kb_article_comment(1, PostKBArticleComment(comment="x")), +] + @pytest.mark.parametrize("call", _READ_CALLS) def test_read_helpers_raise_on_failure(client: GlpiClient, call: Callable) -> None: @@ -66,6 +75,13 @@ def test_read_helpers_raise_on_failure(client: GlpiClient, call: Callable) -> No call(client) +@pytest.mark.parametrize("call", _CREATE_CALLS) +def test_create_helpers_raise_on_failure(client: GlpiClient, call: Callable) -> None: + _FailRecorder(500).install(client) + with pytest.raises(ValueError): + call(client) + + @pytest.mark.parametrize("call", _WRITE_CALLS) def test_update_helpers_raise_on_failure(client: GlpiClient, call: Callable) -> None: _FailRecorder(500).install(client) diff --git a/glpi_python_client/models/api_schema/knowledgebase/_article.py b/glpi_python_client/models/api_schema/knowledgebase/_article.py index 88dbcf2..d320d96 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/_article.py +++ b/glpi_python_client/models/api_schema/knowledgebase/_article.py @@ -3,9 +3,9 @@ The field layout mirrors ``components.schemas.KBArticle`` from the GLPI OpenAPI contract (2.3.0). ``content`` and ``description`` are exchanged as HTML (``format: html``) and use the transparent Markdown annotation. -Server-managed fields (``id``, ``user``, ``views``, ``revisions``, -``translations``) are excluded from the request models; revisions and -translations are managed through the dedicated revision endpoints. +Server-managed fields (``id``, ``views``, ``revisions``, ``translations``) +are excluded from the request models; revisions and translations are +managed through the dedicated revision endpoints. """ from __future__ import annotations @@ -65,9 +65,11 @@ class GetKBArticle(GlpiModel): class PostKBArticle(GlpiModel): """Request body for ``POST /Knowledgebase/Article``. - Server-managed fields are excluded: ``id`` (``readOnly``), ``user`` - (the author is set by the server), ``views`` (a server-side counter), - and the ``revisions``/``translations`` history arrays. + Server-managed fields are excluded: ``id`` (``readOnly``), ``views`` + (a server-side counter), and the ``revisions``/``translations`` history + arrays. The contract marks ``user.id`` as writable (the article author), + so ``user`` is exposed here even though the server defaults it to the + current user when omitted. """ name: str | None = None @@ -76,6 +78,7 @@ class PostKBArticle(GlpiModel): is_faq: bool | None = None entity: IdNameRef | None = None is_recursive: bool | None = None + user: IdNameRef | None = None show_in_service_catalog: bool | None = None description: GlpiMarkdownContent = None illustration: str | None = None diff --git a/glpi_python_client/models/api_schema/knowledgebase/_comment.py b/glpi_python_client/models/api_schema/knowledgebase/_comment.py index 4c7cf20..5f514dc 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/_comment.py +++ b/glpi_python_client/models/api_schema/knowledgebase/_comment.py @@ -3,9 +3,10 @@ The endpoints live under ``/Knowledgebase/Article/{article_id}/Comment``. The field layout mirrors ``components.schemas.KBArticleComment`` from the GLPI OpenAPI contract -(2.3.0). The read-only ``id`` and the server-managed ``kbarticle``/``user`` -references are excluded from the request models; the parent article is -implied by the URL path. +(2.3.0). The read-only ``id`` and ``parent`` references are excluded from +the request models, as is ``kbarticle`` (the parent article is implied by +the URL path). ``user.id`` is writable in the contract, so ``user`` is +exposed on the request models. """ from __future__ import annotations @@ -35,13 +36,15 @@ class GetKBArticleComment(GlpiModel): class PostKBArticleComment(GlpiModel): """Request body for ``POST`` on KB comment endpoints. - The parent article (``kbarticle``) is taken from the URL path and the - author (``user``) is set by the server, so both are excluded here. + The parent article (``kbarticle``) is taken from the URL path, and the + contract marks the comment ``parent`` reference as read-only, so both + are excluded. ``user.id`` is writable and may be set explicitly; the + server defaults it to the current user when omitted. """ + user: IdNameRef | None = None language: str | None = None comment: str | None = None - parent: IdRef | None = None date_creation: datetime | None = None date_mod: datetime | None = None diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py index e884486..6e92231 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py @@ -3,6 +3,7 @@ from __future__ import annotations from glpi_python_client.clients.commons._payloads import model_to_payload +from glpi_python_client.models.api_schema._common import IdNameRef from glpi_python_client.models.api_schema.knowledgebase import ( DeleteKBArticle, GetKBArticle, @@ -44,8 +45,14 @@ def test_get_kb_article_full_payload() -> None: } article = GetKBArticle.model_validate(payload) assert article.id == 5 - # HTML content is normalised to Markdown on the model boundary. - assert "passwd" in (article.content or "") + # HTML content is normalised to Markdown on the model boundary: the + # inbound /

markup must be gone, rendered as Markdown instead. + assert article.content is not None + assert "" not in article.content + assert "`passwd`" in article.content + assert article.description is not None + assert "

" not in article.description + assert "Short summary" in article.description assert article.categories is not None assert article.categories[0].id == 4 assert article.revisions is not None @@ -63,6 +70,13 @@ def test_post_kb_article_markdown_content_renders_html() -> None: assert "passwd" in body["content"] +def test_post_kb_article_accepts_writable_user() -> None: + """The contract marks ``user.id`` writable, so the author can be set.""" + + body = model_to_payload(PostKBArticle(name="x", user=IdNameRef(id=2))) + assert body["user"]["id"] == 2 + + def test_post_kb_article_routes_server_managed_fields_to_extra() -> None: """Server-managed fields land in ``extra_payload`` rather than typed slots.""" diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py index f19c2ba..ee6f144 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py @@ -2,6 +2,8 @@ from __future__ import annotations +from glpi_python_client.clients.commons._payloads import model_to_payload +from glpi_python_client.models.api_schema._common import IdNameRef from glpi_python_client.models.api_schema.knowledgebase import ( DeleteKBArticleComment, GetKBArticleComment, @@ -31,10 +33,20 @@ def test_get_kb_article_comment_full_payload() -> None: def test_post_kb_article_comment_routes_read_only_to_extra() -> None: - """The read-only ``id`` lands in ``extra_payload``.""" + """The read-only ``id`` and ``parent`` land in ``extra_payload``.""" - comment = PostKBArticleComment.model_validate({"comment": "hi", "id": 9}) - assert comment.extra_payload == {"id": 9} + comment = PostKBArticleComment.model_validate( + {"comment": "hi", "id": 9, "parent": {"id": 3}} + ) + assert comment.extra_payload == {"id": 9, "parent": {"id": 3}} + + +def test_post_kb_article_comment_accepts_writable_user() -> None: + """The contract marks ``user.id`` writable, so the author can be set.""" + + body = model_to_payload(PostKBArticleComment(comment="hi", user=IdNameRef(id=2))) + assert body["user"]["id"] == 2 + assert body["comment"] == "hi" def test_patch_kb_article_comment_partial_body() -> None: diff --git a/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py index 5e56911..be66d6e 100644 --- a/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py @@ -20,6 +20,9 @@ def test_get_kb_article_revision_full_payload() -> None: } revision = GetKBArticleRevision.model_validate(payload) assert revision.revision == 2 - assert "passwd" in (revision.content or "") + # HTML content is normalised to Markdown on the model boundary. + assert revision.content is not None + assert "" not in revision.content + assert "`passwd`" in revision.content assert revision.kbarticle is not None assert revision.kbarticle.id == 5 diff --git a/integration_tests/test_integration_kb.py b/integration_tests/test_integration_kb.py index 7bebe97..87b676c 100644 --- a/integration_tests/test_integration_kb.py +++ b/integration_tests/test_integration_kb.py @@ -71,7 +71,8 @@ def _suffix() -> str: return uuid4().hex[:12] -def test_kb_category_lifecycle(client: GlpiClient, kb_available: None) -> None: +@pytest.mark.usefixtures("kb_available") +def test_kb_category_lifecycle(client: GlpiClient) -> None: """Create, fetch, and delete one knowledge base category.""" suffix = _suffix() @@ -85,7 +86,8 @@ def test_kb_category_lifecycle(client: GlpiClient, kb_available: None) -> None: client.delete_kb_category(category_id, force=True) -def test_kb_article_lifecycle(client: GlpiClient, kb_available: None) -> None: +@pytest.mark.usefixtures("kb_available") +def test_kb_article_lifecycle(client: GlpiClient) -> None: """Create an article, edit it, add a comment, read revisions, delete.""" suffix = _suffix() From 37a054b577249599d6be6cc71ed507758b9b0a13 Mon Sep 17 00:00:00 2001 From: baraline Date: Thu, 9 Jul 2026 09:52:43 +0200 Subject: [PATCH 17/18] test(kb): expand integration coverage to full CRUD, validated live on 2.3.0 Preprod was upgraded to High-Level API 2.3.0, so the KB endpoints are now reachable. Expand the integration suite from 2 stubs to 4 tests covering every KB helper end-to-end (category/article/comment CRUD + search, and revision list/get), grounded on observed live behavior: - create responses carry an `id` key; - article content/description round-trip Markdown through GLPI HTML; - comment and revision list endpoints return flat arrays (no envelope). Also fix the user_guide example: an article's `categories` association is read-only in the contract (GLPI ignores it on write), so the example no longer implies create-time linkage. Co-Authored-By: Claude Opus 4.8 --- docs/user_guide.rst | 14 ++- integration_tests/test_integration_kb.py | 137 ++++++++++++++++++++--- 2 files changed, 128 insertions(+), 23 deletions(-) diff --git a/docs/user_guide.rst b/docs/user_guide.rst index d87797e..04ebbdd 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -592,7 +592,10 @@ Knowledge base The knowledge base mixins map to ``/Knowledgebase``. Articles and categories expose the ``search_ / get_ / create_ / update_ / delete_`` shape; comments are nested under an article; revisions are read-only. -Article ``content`` and ``description`` accept and return Markdown. +Article ``content`` and ``description`` accept and return Markdown. An +article's ``categories`` association is read-only in the GLPI contract: +it is returned by ``get_kb_article`` but is not set through the article +create/update body. .. note:: @@ -609,14 +612,14 @@ Article ``content`` and ``description`` accept and return Markdown. PostKBCategory, ) - category_id = client.create_kb_category( - PostKBCategory(name="Networking") - ) + client.create_kb_category(PostKBCategory(name="Networking")) + categories = client.search_kb_categories("name==Networking") + print([c.name for c in categories]) + article_id = client.create_kb_article( PostKBArticle( name="Reset a Wi-Fi controller", content="Hold **reset** for 10s, then re-provision.", - categories=[{"id": category_id}], is_faq=True, ) ) @@ -637,6 +640,7 @@ Article ``content`` and ``description`` accept and return Markdown. Example output:: + ['Networking'] 42 Reset a Wi-Fi controller 42 Reset a Wi-Fi controller 1 revision(s) diff --git a/integration_tests/test_integration_kb.py b/integration_tests/test_integration_kb.py index 87b676c..705fbed 100644 --- a/integration_tests/test_integration_kb.py +++ b/integration_tests/test_integration_kb.py @@ -4,6 +4,11 @@ the Knowledgebase API is not served (it was introduced in High-Level API 2.2.0; instances on 2.1.0 do not expose ``/Knowledgebase/*``). The probe inspects the live ``/doc.json`` schema at session scope. + +The assertions below were grounded against a live GLPI 2.3.0 instance: +create responses carry an ``id`` key, article ``content``/``description`` +round-trip Markdown through GLPI's HTML storage, and the comment and +revision list endpoints return flat arrays (no timeline envelope). """ from __future__ import annotations @@ -16,6 +21,8 @@ from glpi_python_client import ( GlpiClient, PatchKBArticle, + PatchKBArticleComment, + PatchKBCategory, PostKBArticle, PostKBArticleComment, PostKBCategory, @@ -72,48 +79,142 @@ def _suffix() -> str: @pytest.mark.usefixtures("kb_available") -def test_kb_category_lifecycle(client: GlpiClient) -> None: - """Create, fetch, and delete one knowledge base category.""" +def test_kb_category_full_crud(client: GlpiClient) -> None: + """Exercise every category helper: create, get, update, search, delete.""" suffix = _suffix() - category_id = client.create_kb_category( - PostKBCategory(name=f"itest-kbcat-{suffix}") - ) + name = f"itest-kbcat-{suffix}" + category_id = client.create_kb_category(PostKBCategory(name=name)) try: fetched = client.get_kb_category(category_id) assert fetched.id == category_id + assert fetched.name == name + + client.update_kb_category( + category_id, PatchKBCategory(comment="updated by integration test") + ) + assert client.get_kb_category(category_id).comment == ( + "updated by integration test" + ) + + matches = client.search_kb_categories(f"name=={name}") + assert any(c.id == category_id for c in matches) finally: client.delete_kb_category(category_id, force=True) + # After a forced delete the record is gone, so a fetch must fail. + with pytest.raises(ValueError): + client.get_kb_category(category_id) + @pytest.mark.usefixtures("kb_available") -def test_kb_article_lifecycle(client: GlpiClient) -> None: - """Create an article, edit it, add a comment, read revisions, delete.""" +def test_kb_article_full_crud_and_markdown(client: GlpiClient) -> None: + """Create/get/update/search/delete an article and check Markdown round-trip.""" suffix = _suffix() + name = f"itest-kb-{suffix}" article_id = client.create_kb_article( PostKBArticle( - name=f"itest-kb-{suffix}", - content=f"Run **passwd** to reset ({suffix}).", + name=name, + content="Run **passwd** then check `logs`.", + description="A *short* summary.", + is_faq=True, ) ) try: fetched = client.get_kb_article(article_id) assert fetched.id == article_id - assert "passwd" in (fetched.content or "") + assert fetched.is_faq is True + # Markdown round-trips through GLPI's HTML storage: the client + # receives HTML and normalises it back to the Markdown we sent. + assert fetched.content is not None + assert "**passwd**" in fetched.content + assert "`logs`" in fetched.content + assert "" not in fetched.content + assert fetched.description is not None + assert "*short*" in fetched.description + + client.update_kb_article( + article_id, + PatchKBArticle(is_pinned=True, content="Updated: run **reset**."), + ) + updated = client.get_kb_article(article_id) + assert updated.is_pinned is True + assert "**reset**" in (updated.content or "") + + by_name = client.search_kb_articles(f"name=={name}") + assert any(a.id == article_id for a in by_name) + # The FAQ filter returns a non-empty set including our new FAQ article. + faq = client.search_kb_articles("is_faq==1", limit=50) + assert any(a.id == article_id for a in faq) + finally: + client.delete_kb_article(article_id, force=True) + + with pytest.raises(ValueError): + client.get_kb_article(article_id) - client.update_kb_article(article_id, PatchKBArticle(is_pinned=True)) +@pytest.mark.usefixtures("kb_available") +def test_kb_article_comment_full_crud(client: GlpiClient) -> None: + """Exercise every comment helper: create, list, get, update, delete.""" + + suffix = _suffix() + article_id = client.create_kb_article( + PostKBArticle(name=f"itest-kb-comments-{suffix}", content="Body.") + ) + try: comment_id = client.create_kb_article_comment( - article_id, PostKBArticleComment(comment=f"itest comment {suffix}") + article_id, PostKBArticleComment(comment=f"first comment {suffix}") ) - comments = client.list_kb_article_comments(article_id) - assert any(c.id == comment_id for c in comments) + listed = client.list_kb_article_comments(article_id) + assert any(c.id == comment_id for c in listed) - revisions = client.list_kb_article_revisions(article_id) - assert isinstance(revisions, list) + fetched = client.get_kb_article_comment(article_id, comment_id) + assert fetched.id == comment_id + assert f"first comment {suffix}" in (fetched.comment or "") - results = client.search_kb_articles(f"name==itest-kb-{suffix}") - assert any(a.id == article_id for a in results) + client.update_kb_article_comment( + article_id, comment_id, PatchKBArticleComment(comment="edited comment") + ) + assert ( + client.get_kb_article_comment(article_id, comment_id).comment + == "edited comment" + ) + + client.delete_kb_article_comment(article_id, comment_id, force=True) + remaining = client.list_kb_article_comments(article_id) + assert all(c.id != comment_id for c in remaining) + finally: + client.delete_kb_article(article_id, force=True) + + +@pytest.mark.usefixtures("kb_available") +def test_kb_article_revisions(client: GlpiClient) -> None: + """List article revisions and fetch a single revision by number.""" + + suffix = _suffix() + article_id = client.create_kb_article( + PostKBArticle( + name=f"itest-kb-rev-{suffix}", + content="Original **body** with `code`.", + ) + ) + try: + # Editing the article produces at least the initial revision. + client.update_kb_article( + article_id, PatchKBArticle(content="Revised **body**.") + ) + revisions = client.list_kb_article_revisions(article_id) + assert len(revisions) >= 1 + + target = revisions[0].revision + assert target is not None + single = client.get_kb_article_revision(article_id, target) + assert single.revision == target + assert single.kbarticle is not None + assert single.kbarticle.id == article_id + # Revision content is also normalised from HTML to Markdown. + assert single.content is not None + assert "" not in single.content finally: client.delete_kb_article(article_id, force=True) From d7539604ccf04e877e798fcfea9072a8aeaf7f89 Mon Sep 17 00:00:00 2001 From: baraline Date: Thu, 9 Jul 2026 11:42:36 +0200 Subject: [PATCH 18/18] chore: stop tracking the bundled GLPI API contract The generated contract (docs/glpi_api_contract.json) is very large and is a local development reference, not a runtime dependency (no test loads it). Remove it from version control and gitignore it; the file stays on disk for local use. Co-Authored-By: Claude Opus 4.8 --- .gitignore | 5 +- docs/glpi_api_contract.json | 346115 --------------------------------- 2 files changed, 4 insertions(+), 346116 deletions(-) delete mode 100644 docs/glpi_api_contract.json diff --git a/.gitignore b/.gitignore index e1a8f55..89e9793 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,7 @@ secrets/* CLAUDE.md -docs/superpowers/* \ No newline at end of file +docs/superpowers/* + +# Large generated GLPI API contract (kept locally, not tracked) +docs/glpi_api_contract.json \ No newline at end of file diff --git a/docs/glpi_api_contract.json b/docs/glpi_api_contract.json deleted file mode 100644 index 28ba522..0000000 --- a/docs/glpi_api_contract.json +++ /dev/null @@ -1,346115 +0,0 @@ -{ - "openapi": "3.0.0", - "info": { - "title": "GLPI High-Level REST API", - "description": "The High-Level REST API documentation shown here is dynamically generated from the core GLPI code and any enabled plugins.\nIf a plugin is not enabled, its routes will not be shown here.", - "version": "2.3.0", - "license": { - "name": "GNU General Public License v3 or later", - "url": "https:\/\/www.gnu.org\/licenses\/gpl-3.0.html" - } - }, - "components": { - "securitySchemes": { - "oauth": { - "type": "oauth2", - "flows": { - "authorizationCode": { - "authorizationUrl": "\/api.php\/authorize", - "tokenUrl": "\/api.php\/token", - "refreshUrl": "\/api.php\/token", - "scopes": { - "email": "Acc\u00e8s au email des utilisateurs", - "user": "Acc\u00e8s au informations des utilisateurs", - "api": "Acc\u00e8s \u00e0 l'API", - "inventory": "Acc\u00e8s \u00e0 l'inventaire envoy\u00e9 par un agent", - "status": "Acc\u00e8s au point d'entr\u00e9e \"status\"", - "graphql": "Acc\u00e8s au point d'entr\u00e9e \"GraphQL\"" - } - }, - "password": { - "tokenUrl": "\/api.php\/token", - "scopes": { - "email": "Acc\u00e8s au email des utilisateurs", - "user": "Acc\u00e8s au informations des utilisateurs", - "api": "Acc\u00e8s \u00e0 l'API", - "inventory": "Acc\u00e8s \u00e0 l'inventaire envoy\u00e9 par un agent", - "status": "Acc\u00e8s au point d'entr\u00e9e \"status\"", - "graphql": "Acc\u00e8s au point d'entr\u00e9e \"GraphQL\"" - } - } - } - } - }, - "schemas": { - "APIInformation": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "api_versions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "api_version": { - "type": "string" - }, - "version": { - "type": "string" - }, - "endpoint": { - "type": "string" - } - } - } - } - } - }, - "Agent": { - "x-itemtype": "Agent", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "type": { - "type": "object", - "x-itemtype": "AgentType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AgentType", - "readOnly": true - }, - "deviceid": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity", - "readOnly": true - }, - "is_recursive": { - "type": "boolean", - "readOnly": true - }, - "last_contact": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "version": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "locked": { - "type": "boolean" - }, - "itemtype": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "useragent": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "tag": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "port": { - "type": "integer", - "format": "int32" - }, - "remote_address": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "threads_network_discovery": { - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 128, - "default": 1 - }, - "threads_network_inventory": { - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 128, - "default": 1 - }, - "timeout_network_discovery": { - "type": "integer", - "format": "int32", - "description": "Timeout in seconds for network discovery operations. If 0, the value in the inventory configuration is used.", - "minimum": 0, - "maximum": 100, - "default": 0 - }, - "timeout_network_inventory": { - "type": "integer", - "format": "int32", - "description": "Timeout in seconds for network inventory operations. If 0, the value in the inventory configuration is used.", - "minimum": 0, - "maximum": 100, - "default": 0 - }, - "use_module_wake_on_lan": { - "type": "boolean", - "readOnly": true - }, - "use_module_computer_inventory": { - "type": "boolean", - "readOnly": true - }, - "use_module_esx_remote_inventory": { - "type": "boolean", - "readOnly": true - }, - "use_module_remote_inventory": { - "type": "boolean", - "readOnly": true - }, - "use_module_network_inventory": { - "type": "boolean", - "readOnly": true - }, - "use_module_network_discovery": { - "type": "boolean", - "readOnly": true - }, - "use_module_package_deployment": { - "type": "boolean", - "readOnly": true - }, - "use_module_collect_data": { - "type": "boolean", - "readOnly": true - } - }, - "description": "Agent" - }, - "AgentType": { - "x-itemtype": "AgentType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - } - }, - "description": "Type d'agent" - }, - "Antivirus": { - "x-itemtype": "ItemAntivirus", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "antivirus_version": { - "type": "string", - "maxLength": 255 - }, - "signature_version": { - "type": "string", - "maxLength": 255 - }, - "is_active": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "is_up_to_date": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "date_expiration": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Antivirus" - }, - "Appliance": { - "type": "object", - "x-itemtype": "Appliance", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "ApplianceType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ApplianceType" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "environment": { - "type": "object", - "x-itemtype": "ApplianceEnvironment", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ApplianceEnvironment" - }, - "external_id": { - "type": "string" - }, - "is_helpdesk_visible": { - "type": "boolean", - "default": true - } - }, - "description": "Applicatif" - }, - "ApplianceEnvironment": { - "x-itemtype": "ApplianceEnvironment", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - } - }, - "description": "Environnement d'applicatif" - }, - "ApplianceType": { - "x-itemtype": "ApplianceType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "external_id": { - "type": "string", - "maxLength": 255 - } - }, - "description": "Type d'applicatif" - }, - "Appliance_Item": { - "x-itemtype": "Appliance_Item", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "appliance": { - "type": "object", - "x-itemtype": "Appliance", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Appliance" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "environment": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ApplianceEnvironment", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "domain": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Domain", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "location": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "network": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Network", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - } - }, - "description": "\u00c9l\u00e9ment" - }, - "ApprovalStep": { - "type": "object", - "x-itemtype": "ValidationStep", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "is_default": { - "type": "boolean", - "description": "Indicates if this step is the default one for new approvals. If you set this to true, any other step previously set as the default will be unset.", - "default": false - }, - "min_required_approval_percent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "default": 100 - } - }, - "description": "\u00c9tapes de validation", - "required": [ - "name" - ] - }, - "ApprovalSubstitute": { - "x-itemtype": "ValidatorSubstitute", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "substitute": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - } - }, - "description": "Suppl\u00e9ant autoris\u00e9" - }, - "AssetCharacteristicsStats": { - "type": "object", - "properties": { - "characteristic": { - "type": "string", - "description": "The characteristic value" - }, - "number_open": { - "type": "integer", - "description": "The number of open assistance items" - }, - "number_solved": { - "type": "integer", - "description": "The number of solved assistance items" - }, - "number_late": { - "type": "integer", - "description": "The number of late assistance items" - }, - "number_closed": { - "type": "integer", - "description": "The number of closed assistance items" - }, - "satisfaction_surveys_open": { - "type": "integer", - "description": "The number of open satisfaction surveys" - }, - "satisfaction_surveys_answered": { - "type": "integer", - "description": "The number of answered satisfaction surveys" - }, - "satisfaction_surveys_avg_rating": { - "type": "number", - "format": "float", - "description": "The average rating of the satisfaction surveys" - }, - "time_take_into_account_avg": { - "type": "integer", - "description": "The average time it took to take the assistance items into account (in seconds)" - }, - "time_solve_avg": { - "type": "integer", - "description": "The average time it took to resolve the assistance items (in seconds)" - }, - "time_close_avg": { - "type": "integer", - "description": "The average time it took to close the assistance items (in seconds)" - }, - "time_treatment_avg": { - "type": "integer", - "description": "The average time it took to completely treat the assistance items (in seconds)" - }, - "time_treatment_total": { - "type": "integer", - "description": "The total time it took to completely treat the assistance items (in seconds)" - } - } - }, - "AssetStats": { - "type": "object", - "properties": { - "item": { - "type": "object", - "description": "The item the stats are grouped by", - "properties": { - "itemtype": { - "type": "string", - "description": "The itemtype of the item" - }, - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity", - "description": "The entity the item belongs to" - }, - "is_deleted": { - "type": "boolean", - "description": "Whether the item is deleted or not" - } - } - }, - "number_open": { - "type": "integer", - "description": "The number of open assistance items" - } - } - }, - "AutoUpdateSystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - } - }, - "description": "Source de mise \u00e0 jour" - }, - "AutomaticAction": { - "x-itemtype": "CronTask", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 100, - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "frequency": { - "type": "integer", - "description": "Frequency in seconds", - "minimum": 60, - "maximum": 2592000, - "multipleOf": 60 - }, - "param": { - "type": "integer", - "description": "A numeric parameter used by some automatic actions. The meaning of this parameter depends on the action." - }, - "state": { - "type": "integer", - "enum": [ - "01", - 2 - ], - "description": " - 0: Disabled\n - 1: Scheduled\n - 2: Running" - }, - "mode": { - "type": "integer", - "enum": [ - 1, - 2 - ], - "description": " - 1: Internal (Triggered occasionally by page visits)\n - 2: External (External scheduler like cron or Windows Task Scheduler)" - }, - "allow_mode": { - "type": "integer", - "enum": [ - 1, - 2, - 3 - ], - "description": " Some tasks can only be run in certain modes, usually for performance reasons. This field indicates which modes are allowed for this task.\n - 1: Internal (Triggered occasionally by page visits)\n - 2: External (External scheduler like cron or Windows Task Scheduler)\n - 3: Both internal and external", - "readOnly": true - }, - "min_hour": { - "type": "integer", - "description": "Minimum hour of the day when the task can run", - "minimum": 0, - "maximum": 24 - }, - "max_hour": { - "type": "integer", - "description": "Maximum hour of the day when the task can run", - "minimum": 0, - "maximum": 24 - }, - "logs_lifetime": { - "type": "integer", - "description": "Number of days to keep logs for this task. 0 means keep logs forever.", - "minimum": 0, - "maximum": 360 - }, - "last_run": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Action automatique" - }, - "AutomaticActionLog": { - "x-itemtype": "CronTaskLog", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "automatic_action": { - "type": "object", - "x-itemtype": "CronTask", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutomaticAction", - "readOnly": true - }, - "previous": { - "type": "object", - "description": "The previous log entry for the same automatic action execution, if any. Typically points to the start log entry.", - "readOnly": true, - "x-itemtype": "CronTaskLog", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - }, - "date": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "state": { - "type": "integer", - "enum": [ - 0, - 1, - 2, - 3 - ], - "description": " - 0: Start\n - 1: Running\n - 2: Stop\n - 3: Error", - "readOnly": true - }, - "elapsed_time": { - "type": "number", - "format": "float", - "description": "Elapsed time in seconds.", - "readOnly": true - }, - "volume": { - "type": "integer", - "description": "A numeric value representing the volume of processed items.", - "readOnly": true - }, - "message": { - "type": "string", - "maxLength": 255, - "readOnly": true - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "Battery": { - "x-itemtype": "DeviceBattery", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "voltage": { - "type": "integer", - "format": "int32" - }, - "capacity": { - "type": "integer", - "format": "int32" - }, - "type": { - "type": "object", - "x-itemtype": "DeviceBatteryType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "BatteryType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceBatteryModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "BatteryModel" - } - }, - "description": "Batterie" - }, - "BatteryItem": { - "x-itemtype": "Item_DeviceBattery", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "battery": { - "type": "object", - "x-itemtype": "DeviceBattery", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Battery" - }, - "date_manufacture": { - "type": "string", - "format": "date" - }, - "real_capacity": { - "type": "integer", - "format": "int32" - } - }, - "description": "Batterie \u00e9l\u00e9ment" - }, - "BatteryModel": { - "x-itemtype": "DeviceBatteryModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de batterie" - }, - "BatteryType": { - "x-itemtype": "DeviceBatteryType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de batterie" - }, - "Budget": { - "type": "object", - "x-itemtype": "Budget", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "type": { - "type": "object", - "x-itemtype": "BudgetType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "BudgetType" - }, - "is_deleted": { - "type": "boolean" - }, - "value": { - "type": "number" - }, - "date_begin": { - "type": "string", - "format": "date" - }, - "date_end": { - "type": "string", - "format": "date" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Budget" - }, - "BudgetType": { - "x-itemtype": "BudgetType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de budget" - }, - "BusinessCriticity": { - "type": "object", - "x-itemtype": "BusinessCriticity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "level": { - "type": "integer", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "parent": { - "type": "object", - "x-itemtype": "BusinessCriticity", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "BusinessCriticity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Criticit\u00e9" - }, - "Cable": { - "x-itemtype": "Cable", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "otherserial": { - "type": "string" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "itemtype_endpoint_a": { - "type": "string" - }, - "items_id_endpoint_a": { - "type": "integer", - "format": "int64" - }, - "socketmodel_endpoint_a": { - "type": "object", - "x-itemtype": "Glpi\\SocketModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SocketModel" - }, - "sockets_id_endpoint_a": { - "type": "integer", - "format": "int64" - }, - "itemtype_endpoint_b": { - "type": "string" - }, - "items_id_endpoint_b": { - "type": "integer", - "format": "int64" - }, - "socketmodel_endpoint_b": { - "type": "object", - "x-itemtype": "Glpi\\SocketModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SocketModel" - }, - "sockets_id_endpoint_b": { - "type": "integer", - "format": "int64" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "cable_strand": { - "type": "object", - "x-itemtype": "CableStrand", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "CableStrand" - }, - "type": { - "type": "object", - "x-itemtype": "CableType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "CableType" - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - }, - "color": { - "type": "string", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - } - }, - "description": "C\u00e2ble" - }, - "CableStrand": { - "type": "object", - "x-itemtype": "CableStrand", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Toron de c\u00e2ble" - }, - "CableType": { - "type": "object", - "x-itemtype": "CableType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de c\u00e2ble" - }, - "Calendar": { - "type": "object", - "x-itemtype": "Calendar", - "description": "Calendrier", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "close_times": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "CloseTime", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - }, - "time_ranges": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "CalendarTimeRange", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - } - } - }, - "CalendarTimeRange": { - "x-itemtype": "CalendarSegment", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "calendar": { - "type": "object", - "x-itemtype": "Calendar", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Calendar" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "day_of_week": { - "type": "integer", - "minimum": 1, - "maximum": 7 - }, - "begin_time": { - "type": "string", - "format": "time" - }, - "end_time": { - "type": "string", - "format": "time" - } - }, - "description": "Plage horaire" - }, - "Camera": { - "x-itemtype": "DeviceCamera", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "flash": { - "type": "boolean" - }, - "lens_facing": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "focal_length": { - "type": "string" - }, - "sensor_size": { - "type": "string" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceCameraModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "CameraModel" - }, - "support": { - "type": "string" - } - }, - "description": "Cam\u00e9ra" - }, - "CameraImageFormat": { - "x-itemtype": "ImageFormat", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Format d'image" - }, - "CameraImageResolution": { - "x-itemtype": "ImageResolution", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "is_video": { - "type": "boolean", - "default": false - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "R\u00e9solution" - }, - "CameraItem": { - "x-itemtype": "Item_DeviceCamera", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "camera": { - "type": "object", - "x-itemtype": "DeviceCamera", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Camera" - } - }, - "description": "Cam\u00e9ra \u00e9l\u00e9ment" - }, - "CameraModel": { - "x-itemtype": "DeviceCameraModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de cam\u00e9ra" - }, - "Cartridge": { - "x-itemtype": "Cartridge", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "entities_id": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "cartridgeitems_id": { - "type": "object", - "x-itemtype": "CartridgeItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "CartridgeItem" - }, - "pages": { - "type": "integer", - "format": "int32" - }, - "date_in": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_use": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_out": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "Cartouche" - }, - "CartridgeItem": { - "x-itemtype": "CartridgeItem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "printer_models": { - "type": "array", - "description": "List of printer models that can use this cartridge", - "items": { - "type": "object", - "x-full-schema": "PrinterModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - } - } - } - }, - "cartridges": { - "type": "array", - "description": "List of cartridges", - "items": { - "type": "object", - "x-full-schema": "Cartridge", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "pages": { - "type": "integer", - "format": "int32" - }, - "date_in": { - "type": "string", - "format": "date-time" - }, - "date_use": { - "type": "string", - "format": "date-time" - }, - "date_out": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - } - } - } - }, - "description": "Mod\u00e8le de cartouche" - }, - "CartridgeItemType": { - "x-itemtype": "CartridgeItemType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de cartouche" - }, - "Case": { - "x-itemtype": "DeviceCase", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "DeviceCaseType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "CaseType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceCaseModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "CaseModel" - } - }, - "description": "Bo\u00eetier" - }, - "CaseItem": { - "x-itemtype": "Item_DeviceCase", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "case": { - "type": "object", - "x-itemtype": "DeviceCase", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Case" - } - }, - "description": "Bo\u00eetier \u00e9l\u00e9ment" - }, - "CaseModel": { - "x-itemtype": "DeviceCaseModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de boitier" - }, - "CaseType": { - "x-itemtype": "DeviceCaseType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de boitier" - }, - "Certificate": { - "type": "object", - "x-itemtype": "Certificate", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "CertificateType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "CertificateType" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "template_name": { - "type": "string" - }, - "is_template": { - "type": "boolean" - }, - "dns_name": { - "type": "string" - }, - "dns_suffix": { - "type": "string" - }, - "is_selfsign": { - "type": "boolean" - }, - "date_expiration": { - "type": "string", - "format": "date" - }, - "command": { - "type": "string", - "description": "Certificate generation command used" - }, - "certificate_request": { - "type": "string", - "description": "Certificate request (CSR)" - }, - "certificate_item": { - "type": "string", - "description": "Issued certificate" - } - }, - "description": "Certificat" - }, - "CertificateType": { - "x-itemtype": "CertificateType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de certificat" - }, - "Certificate_Item": { - "x-itemtype": "Certificate_Item", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "certificate": { - "type": "object", - "x-itemtype": "Certificate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Certificate" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "Change": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "user_recipient": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "is_deleted": { - "type": "boolean" - }, - "category": { - "type": "object", - "x-itemtype": "ITILCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ITILCategory" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "urgency": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "impact": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "priority": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "actiontime": { - "type": "integer", - "readOnly": true - }, - "begin_waiting_date": { - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "waiting_duration": { - "type": "integer", - "readOnly": true, - "description": "Total waiting duration in seconds" - }, - "resolution_duration": { - "type": "integer", - "readOnly": true, - "description": "Total resolution duration in seconds" - }, - "close_duration": { - "type": "integer", - "readOnly": true, - "description": "Total close duration in seconds" - }, - "resolution_date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_solve": { - "type": "string", - "format": "date-time" - }, - "date_close": { - "type": "string", - "format": "date-time" - }, - "global_validation": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": "The global status of the validation.\n- 1: None\n- 2: Waiting\n- 3: Accepted\n- 4: Refused" - }, - "status": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "enum": [ - 1, - 9, - 10, - 7, - 4, - 11, - 12, - 5, - 8, - 6, - 14, - 13 - ], - "description": "- 1: Nouveau\n- 9: \u00c9valuation\n- 10: Validation\n- 7: Accept\u00e9\n- 4: En attente\n- 11: En test\n- 12: Qualification\n- 5: Appliqu\u00e9\n- 8: Revue\n- 6: Clos\n- 14: Annul\u00e9\n- 13: Refus\u00e9e\n", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "team": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "role": { - "type": "string" - } - }, - "x-full-schema": "TeamMember" - } - }, - "costs": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ChangeCost", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - } - }, - "x-itemtype": "Change", - "description": "Changement" - }, - "ChangeCost": { - "x-itemtype": "ChangeCost", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "change": { - "type": "object", - "x-itemtype": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Change" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "integer", - "format": "int32" - }, - "cost_time": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "cost_fixed": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "cost_material": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "budget": { - "type": "object", - "x-itemtype": "Budget", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Budget" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - } - }, - "description": "Co\u00fbt" - }, - "ChangeSatisfaction": { - "x-itemtype": "ChangeSatisfaction", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "change": { - "type": "object", - "x-itemtype": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Change" - }, - "type": { - "type": "integer", - "enum": [ - 1, - 2 - ], - "description": " The type of satisfaction survey.\n - 1: Internal\n - 2: External" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_answered": { - "type": "string", - "format": "date-time" - }, - "rating": { - "type": "integer", - "description": "The rating given in the satisfaction survey. The maximum value depends on the entity configuration.", - "minimum": 1 - }, - "rating_scaled_5": { - "type": "number", - "description": "The rating scaled to a 5-point scale.", - "minimum": 1, - "maximum": 5 - }, - "comment": { - "type": "string", - "description": "The comment provided in the satisfaction survey. May be required depending on the given rating and the entity configuration." - } - }, - "description": "Satisfaction" - }, - "ChangeTask": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "format": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "is_private": { - "type": "boolean" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "integer" - }, - "planned_begin": { - "type": "string", - "format": "date-time" - }, - "planned_end": { - "type": "string", - "format": "date-time" - }, - "state": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": "The state of the task.\n- 0: Information\n- 1: To do\n- 2: Done" - }, - "category": { - "type": "object", - "x-itemtype": "TaskCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TaskCategory" - }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" - }, - "changes_id": { - "type": "integer", - "format": "int64" - } - }, - "x-itemtype": "ChangeTask", - "description": "T\u00e2che de changement" - }, - "ChangeTemplate": { - "x-itemtype": "ChangeTemplate", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - } - }, - "description": "Gabarit de changement" - }, - "ChangeValidation": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "requester": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "approver": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "requested_approver_type": { - "type": "string", - "enum": [ - "User", - "Group" - ] - }, - "requested_approver_id": { - "type": "integer", - "format": "int64" - }, - "submission_comment": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "approval_comment": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "status": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": "The status of the validation.\n- 1: None\n- 2: Waiting\n- 3: Accepted\n- 4: Refused" - }, - "submission_date": { - "type": "string", - "format": "date-time" - }, - "approval_date": { - "type": "string", - "format": "date-time" - }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" - }, - "changes_id": { - "type": "integer", - "format": "int64" - } - }, - "x-itemtype": "ChangeValidation", - "description": "Validation du changement" - }, - "Change_Change": { - "x-itemtype": "Change_Change", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "change_1": { - "type": "object", - "x-itemtype": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Change" - }, - "change_2": { - "type": "object", - "x-itemtype": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Change" - }, - "link": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": " The type of link between the two changes.\n - 1: Linked to\n - 2: Duplicate of\n - 3: Child of\n - 4: Parent of" - } - }, - "description": "Lien Changement\/Changement" - }, - "Change_Item": { - "x-itemtype": "Change_Item", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "change": { - "type": "object", - "x-itemtype": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Change" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "\u00c9l\u00e9ment associ\u00e9 au changement" - }, - "Change_Problem": { - "x-itemtype": "Change_Problem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "change": { - "type": "object", - "x-itemtype": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Change" - }, - "problem": { - "type": "object", - "x-itemtype": "Problem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Problem" - }, - "link": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": " The type of link between the change and the ticket.\n - 1: Linked to\n - 2: Duplicate of\n - 3: Child of\n - 4: Parent of" - } - }, - "description": "Lien Probl\u00e8me\/Changement" - }, - "Change_Ticket": { - "x-itemtype": "Change_Ticket", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "change": { - "type": "object", - "x-itemtype": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Change" - }, - "ticket": { - "type": "object", - "x-itemtype": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Ticket" - }, - "link": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": " The type of link between the change and the ticket.\n - 1: Linked to\n - 2: Duplicate of\n - 3: Child of\n - 4: Parent of" - } - }, - "description": "Lien Ticket\/Changement" - }, - "CloseTime": { - "type": "object", - "x-itemtype": "Holiday", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "is_perpetual": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "P\u00e9riode de fermeture", - "required": [ - "date_begin", - "date_end" - ] - }, - "Cluster": { - "type": "object", - "x-itemtype": "Cluster", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "ClusterType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ClusterType" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Cluster" - }, - "ClusterType": { - "x-itemtype": "ClusterType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de cluster" - }, - "CommonAsset": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - } - } - }, - "Computer": { - "type": "object", - "x-itemtype": "Computer", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "ComputerType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ComputerType" - }, - "model": { - "type": "object", - "x-itemtype": "ComputerModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ComputerModel" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "network": { - "type": "object", - "x-itemtype": "Network", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - }, - "is_dynamic": { - "type": "boolean", - "default": false - }, - "ticket_tco": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "last_inventory_update": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "last_boot": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "Ordinateur" - }, - "ComputerModel": { - "x-itemtype": "ComputerModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string", - "maxLength": 255 - }, - "weight": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "rack_units": { - "type": "integer", - "minimum": 1, - "default": 1 - }, - "depth": { - "type": "number", - "format": "float", - "default": 1, - "enum": [ - 0.25, - 0.33, - 0.5, - 1 - ] - }, - "power_connections": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "power_consumption": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "is_half_rack": { - "type": "boolean", - "default": false - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le d'ordinateur" - }, - "ComputerType": { - "x-itemtype": "ComputerType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type d'ordinateur" - }, - "Config": { - "x-itemtype": "Config", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "context": { - "type": "string" - }, - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "description": "Configuration" - }, - "Consumable": { - "x-itemtype": "Consumable", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "entities_id": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "consumableitems_id": { - "type": "object", - "x-itemtype": "ConsumableItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ConsumableItem" - }, - "date_in": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_out": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "Consommable" - }, - "ConsumableItem": { - "x-itemtype": "ConsumableItem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "consumables": { - "type": "array", - "description": "List of consumables", - "items": { - "type": "object", - "x-full-schema": "Consumable", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "date_in": { - "type": "string", - "format": "date-time" - }, - "date_out": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - } - } - } - } - }, - "description": "Mod\u00e8le de consommable" - }, - "ConsumableItemType": { - "x-itemtype": "ConsumableItemType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de consommable" - }, - "Contact": { - "type": "object", - "x-itemtype": "Contact", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "ContactType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ContactType" - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Contact" - }, - "ContactType": { - "x-itemtype": "ContactType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de contact" - }, - "Contract": { - "type": "object", - "x-itemtype": "Contract", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "ContractType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ContractType" - }, - "is_deleted": { - "type": "boolean" - }, - "costs": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ContractCost", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - }, - "number": { - "type": "string", - "maxLength": 255 - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "date_begin": { - "type": "string", - "format": "date" - }, - "duration": { - "type": "integer", - "format": "int32", - "description": "Duration in months" - }, - "notice_period": { - "type": "integer", - "format": "int32", - "description": "Notice period in months" - }, - "renewal_period": { - "type": "integer", - "format": "int32", - "description": "Renewal period in months" - }, - "invoice_period": { - "type": "integer", - "format": "int32", - "description": "Invoice period in months" - }, - "accounting_number": { - "type": "string", - "maxLength": 255 - }, - "week_begin_hour": { - "type": "string", - "pattern": "time", - "description": "Week begin hour in HH:MM:SS format (RFC3339 partial-time)" - }, - "week_end_hour": { - "type": "string", - "pattern": "time", - "description": "Week end hour in HH:MM:SS format (RFC3339 partial-time)" - }, - "saturday_begin_hour": { - "type": "string", - "pattern": "time", - "description": "Saturday begin hour in HH:MM:SS format (RFC3339 partial-time)" - }, - "saturday_end_hour": { - "type": "string", - "pattern": "time", - "description": "Saturday end hour in HH:MM:SS format (RFC3339 partial-time)" - }, - "sunday_begin_hour": { - "type": "string", - "pattern": "time", - "description": "Sunday begin hour in HH:MM:SS format (RFC3339 partial-time)" - }, - "sunday_end_hour": { - "type": "string", - "pattern": "time", - "description": "Sunday end hour in HH:MM:SS format (RFC3339 partial-time)" - }, - "use_saturday": { - "type": "boolean", - "default": false - }, - "use_sunday": { - "type": "boolean", - "default": false - }, - "max_links_allowed": { - "type": "integer", - "format": "int32", - "description": "Maximum number of items that can be linked to this contract (0 = unlimited)" - }, - "alert": { - "type": "integer", - "format": "int32", - "enum": [ - 0, - 4, - 8, - 12, - 64, - 72 - ], - "description": " The alert type for this contract\n - 0: No alert\n - 4: Alert on end date\n - 8: Alert on notice date\n - 12: Alert on end date and notice date\n - 16: Periodic alert\n - 24: Periodic alert and alert on notice date" - }, - "renewal_type": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": " The renewal type for this contract\n - 0: No renewal\n - 1: Tacit renewal (automatic)\n - 2: Explicit renewal (manual)" - }, - "template_name": { - "type": "string" - }, - "is_template": { - "type": "boolean" - } - }, - "description": "Contrat" - }, - "ContractCost": { - "x-itemtype": "ContractCost", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "contract": { - "type": "object", - "x-itemtype": "Contract", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Contract" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "cost": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "budget": { - "type": "object", - "x-itemtype": "Budget", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Budget" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - } - }, - "description": "Co\u00fbt" - }, - "ContractType": { - "x-itemtype": "ContractType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de contrat" - }, - "Contract_Item": { - "x-itemtype": "Contract_Item", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "contract": { - "type": "object", - "x-itemtype": "Contract", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Contract" - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "Lien Contrat\/\u00c9l\u00e9ment" - }, - "Controller": { - "x-itemtype": "DeviceControl", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_raid": { - "type": "boolean" - }, - "interface": { - "type": "object", - "x-itemtype": "InterfaceType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "InterfaceType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceControlModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ControllerModel" - } - }, - "description": "Contr\u00f4leur" - }, - "ControllerItem": { - "x-itemtype": "Item_DeviceControl", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "controller": { - "type": "object", - "x-itemtype": "DeviceControl", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Controller" - }, - "busID": { - "type": "string" - } - }, - "description": "Contr\u00f4leur \u00e9l\u00e9ment" - }, - "ControllerModel": { - "x-itemtype": "DeviceControlModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de contr\u00f4leur" - }, - "CustomAsset_PDUs": { - "x-itemtype": "Glpi\\CustomAsset\\PDUsAsset", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "format": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i" - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "custom_fields": { - "type": "object", - "readOnly": true, - "properties": [] - }, - "type": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\PDUsAssetType", - "x-full-schema": "CustomAsset_PDUsType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - }, - "model": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\PDUsAssetModel", - "x-full-schema": "CustomAsset_PDUsModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - } - }, - "description": "PDUs" - }, - "CustomAsset_PDUsModel": { - "x-itemtype": "Glpi\\CustomAsset\\PDUsAssetModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "weight": { - "type": "integer" - }, - "required_units": { - "type": "integer" - }, - "depth": { - "type": "number", - "format": "float" - }, - "power_connections": { - "type": "integer" - }, - "power_consumption": { - "type": "integer" - }, - "is_half_rack": { - "type": "boolean" - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "PDUs mod\u00e8le" - }, - "CustomAsset_PDUsType": { - "x-itemtype": "Glpi\\CustomAsset\\PDUsAssetType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "PDUs type" - }, - "CustomAsset_enclosures": { - "x-itemtype": "Glpi\\CustomAsset\\enclosuresAsset", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "format": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i" - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "custom_fields": { - "type": "object", - "readOnly": true, - "properties": [] - }, - "type": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\enclosuresAssetType", - "x-full-schema": "CustomAsset_enclosuresType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - }, - "model": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\enclosuresAssetModel", - "x-full-schema": "CustomAsset_enclosuresModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - } - }, - "description": "Ch\u00e2ssis" - }, - "CustomAsset_enclosuresModel": { - "x-itemtype": "Glpi\\CustomAsset\\enclosuresAssetModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "weight": { - "type": "integer" - }, - "required_units": { - "type": "integer" - }, - "depth": { - "type": "number", - "format": "float" - }, - "power_connections": { - "type": "integer" - }, - "power_consumption": { - "type": "integer" - }, - "is_half_rack": { - "type": "boolean" - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Ch\u00e2ssis mod\u00e8le" - }, - "CustomAsset_enclosuresType": { - "x-itemtype": "Glpi\\CustomAsset\\enclosuresAssetType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Ch\u00e2ssis type" - }, - "CustomAsset_servers": { - "x-itemtype": "Glpi\\CustomAsset\\serversAsset", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "format": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i" - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "custom_fields": { - "type": "object", - "readOnly": true, - "properties": { - "emplacement_datacenter": { - "type": "string", - "computation": {} - }, - "ticket_tco": { - "type": "string", - "computation": {} - } - } - }, - "type": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\serversAssetType", - "x-full-schema": "CustomAsset_serversType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - }, - "model": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\serversAssetModel", - "x-full-schema": "CustomAsset_serversModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - } - }, - "description": "Serveurs" - }, - "CustomAsset_serversModel": { - "x-itemtype": "Glpi\\CustomAsset\\serversAssetModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "weight": { - "type": "integer" - }, - "required_units": { - "type": "integer" - }, - "depth": { - "type": "number", - "format": "float" - }, - "power_connections": { - "type": "integer" - }, - "power_consumption": { - "type": "integer" - }, - "is_half_rack": { - "type": "boolean" - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Serveurs mod\u00e8le" - }, - "CustomAsset_serversType": { - "x-itemtype": "Glpi\\CustomAsset\\serversAssetType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Serveurs type" - }, - "CustomAsset_storagearrays": { - "x-itemtype": "Glpi\\CustomAsset\\storagearraysAsset", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "format": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i" - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "custom_fields": { - "type": "object", - "readOnly": true, - "properties": { - "creationdate": { - "type": "string", - "computation": {} - }, - "dropdowns_dropdowns_id_faseighttwozerozerocategory": { - "type": "string", - "computation": {} - }, - "ticket_tco": { - "type": "string", - "computation": {} - } - } - }, - "type": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\storagearraysAssetType", - "x-full-schema": "CustomAsset_storagearraysType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - }, - "model": { - "type": "object", - "x-itemtype": "Glpi\\CustomAsset\\storagearraysAssetModel", - "x-full-schema": "CustomAsset_storagearraysModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - } - }, - "description": "Stockage" - }, - "CustomAsset_storagearraysModel": { - "x-itemtype": "Glpi\\CustomAsset\\storagearraysAssetModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "weight": { - "type": "integer" - }, - "required_units": { - "type": "integer" - }, - "depth": { - "type": "number", - "format": "float" - }, - "power_connections": { - "type": "integer" - }, - "power_consumption": { - "type": "integer" - }, - "is_half_rack": { - "type": "boolean" - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Stockage mod\u00e8le" - }, - "CustomAsset_storagearraysType": { - "x-itemtype": "Glpi\\CustomAsset\\storagearraysAssetType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Stockage type" - }, - "DCRoom": { - "x-itemtype": "DCRoom", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "datacenter": { - "type": "object", - "x-itemtype": "Datacenter", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DataCenter" - }, - "rows": { - "type": "integer" - }, - "cols": { - "type": "integer" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Salle serveur" - }, - "Dashboard": { - "x-itemtype": "Glpi\\Dashboard\\Dashboard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "key": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string" - }, - "context": { - "type": "string", - "description": "Dashboard context which controls where it may be used", - "enum": [ - "core", - "mini_core" - ] - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "DashboardFilter", - "properties": { - "id": { - "type": "integer", - "readOnly": true - } - } - } - }, - "items": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "DashboardItem", - "properties": { - "id": { - "type": "integer", - "readOnly": true - } - } - } - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "DashboardCard": { - "type": "object", - "properties": { - "card": { - "type": "string", - "description": "The card type key" - }, - "widget": { - "type": "array", - "description": "List of widget types that can be used to display this card", - "items": { - "type": "string", - "enum": { - "0": "bigNumber", - "60": "summaryNumbers", - "61": "multipleNumber", - "62": "pie", - "63": "donut", - "64": "halfpie", - "65": "halfdonut", - "66": "bar", - "67": "hbar", - "905": "searchShowList", - "922": "line", - "923": "area", - "925": "lines", - "926": "areas", - "927": "bars", - "928": "stackedbars", - "941": "hBars", - "942": "stackedHBars", - "1025": "articleList", - "1026": "markdown" - } - } - }, - "group": { - "type": "string", - "description": "The localized group name this card belongs to" - }, - "itemtype": { - "type": "string", - "description": "The itemtype this card is related to, if any" - }, - "label": { - "type": "string", - "description": "The localized label of the card" - }, - "filters": { - "type": "array", - "description": "List of filters applicable to this card", - "items": { - "type": "string", - "enum": [ - "dates", - "dates_mod", - "itilcategory", - "location", - "manufacturer", - "requesttype", - "state", - "tickettype", - "group_requester", - "group_tech", - "user_tech" - ] - } - } - } - }, - "DashboardFilter": { - "x-itemtype": "Glpi\\Dashboard\\Filter", - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "dashboard": { - "type": "object", - "x-itemtype": "Glpi\\Dashboard\\Dashboard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Dashboard" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "filter": { - "type": "string", - "description": "JSON encoded filters" - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "DashboardItem": { - "x-itemtype": "Glpi\\Dashboard\\Item", - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "dashboard": { - "type": "object", - "x-itemtype": "Glpi\\Dashboard\\Dashboard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Dashboard" - }, - "unique_key": { - "type": "string", - "description": "Unique key of the item in the dashboard" - }, - "card": { - "type": "string", - "description": "The card type of the dashboard item. Usually corresponds to a widget key and some extra information. For example, \"bn_count_Computer\" is big number widget showing the count of computers." - }, - "x": { - "type": "integer", - "description": "X position of the item in the dashboard grid" - }, - "y": { - "type": "integer", - "description": "Y position of the item in the dashboard grid" - }, - "width": { - "type": "integer", - "description": "Width of the item in the dashboard grid" - }, - "height": { - "type": "integer", - "description": "Height of the item in the dashboard grid" - }, - "card_options": { - "type": "string", - "description": "JSON encoded options specific to the card type" - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "DashboardRight": { - "x-itemtype": "Glpi\\Dashboard\\Right", - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "dashboard": { - "type": "object", - "x-itemtype": "Glpi\\Dashboard\\Dashboard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Dashboard" - }, - "itemtype": { - "type": "string", - "description": "Type of the item the right is granted to", - "enum": [ - "User", - "Group", - "Entity", - "Profile" - ] - }, - "items_id": { - "type": "integer", - "description": "ID of the item the right is granted to" - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "DataCenter": { - "type": "object", - "x-itemtype": "Datacenter", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Data center" - }, - "Database": { - "type": "object", - "x-itemtype": "Database", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_deleted": { - "type": "boolean" - }, - "instance": { - "type": "object", - "x-itemtype": "DatabaseInstance", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DatabaseInstance" - } - }, - "description": "Base de donn\u00e9es" - }, - "DatabaseInstance": { - "type": "object", - "x-itemtype": "DatabaseInstance", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "version": { - "type": "string", - "maxLength": 255 - }, - "port": { - "type": "string", - "maxLength": 10 - }, - "path": { - "type": "string", - "maxLength": 255 - }, - "type": { - "type": "object", - "x-itemtype": "DatabaseInstanceType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DatabaseInstanceType" - }, - "category": { - "type": "object", - "x-itemtype": "DatabaseInstanceCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DatabaseInstanceCategory" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "is_onbackup": { - "type": "boolean" - }, - "is_active": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date_lastboot": { - "type": "string", - "format": "date-time" - }, - "date_lastbackup": { - "type": "string", - "format": "date-time" - }, - "database": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Database", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - } - } - }, - "description": "Instance de base de donn\u00e9es" - }, - "DatabaseInstanceCategory": { - "type": "object", - "x-itemtype": "DatabaseInstanceCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Cat\u00e9gorie d'instance de base de donn\u00e9es" - }, - "DatabaseInstanceType": { - "type": "object", - "x-itemtype": "DatabaseInstanceType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type d'instance de base de donn\u00e9es" - }, - "DeniedMailContent": { - "type": "object", - "x-itemtype": "BlacklistedMailContent", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "content": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Contenu de mail interdit " - }, - "DenyList": { - "type": "object", - "x-itemtype": "Blacklist", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "type": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8 - ], - "description": " The type of denylist entry:\n - 1: IP Address\n - 2: MAC Address\n - 3: Serial Number\n - 4: UUID\n - 5: Email Address\n - 6: Model\n - 7: Name\n - 8: Manufacturer" - }, - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Liste noire" - }, - "Document": { - "type": "object", - "x-itemtype": "Document", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_deleted": { - "type": "boolean" - }, - "filename": { - "type": "string" - }, - "filepath": { - "type": "string", - "readOnly": true - }, - "download_url": { - "type": "string", - "readOnly": true - }, - "mime": { - "type": "string" - }, - "sha1sum": { - "type": "string" - }, - "category": { - "type": "object", - "x-itemtype": "DocumentCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DocumentCategory" - }, - "link": { - "type": "string", - "maxLength": 255 - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "checksum_sha1": { - "type": "string", - "maxLength": 40 - }, - "is_import_denied": { - "type": "boolean" - }, - "tag": { - "type": "string", - "maxLength": 255 - } - }, - "description": "Document" - }, - "DocumentCategory": { - "type": "object", - "x-itemtype": "DocumentCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "level": { - "type": "integer", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "parent": { - "type": "object", - "x-itemtype": "DocumentCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DocumentCategory" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Rubrique des document" - }, - "DocumentType": { - "type": "object", - "x-itemtype": "DocumentType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "icon": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "is_uploadable": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de document" - }, - "Document_Item": { - "type": "object", - "x-itemtype": "Document_Item", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "documents_id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "document": { - "type": "object", - "x-itemtype": "Document", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Document" - }, - "filepath": { - "type": "string", - "readOnly": true - }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date-time" - } - }, - "description": "\u00c9l\u00e9ment associ\u00e9 au document" - }, - "Domain": { - "type": "object", - "x-itemtype": "Domain", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "DomainType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DomainType" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "date_domain_creation": { - "type": "string", - "format": "date" - }, - "date_expiration": { - "type": "string", - "format": "date" - }, - "template_name": { - "type": "string" - }, - "is_template": { - "type": "boolean" - }, - "is_active": { - "type": "boolean" - }, - "is_recursive": { - "type": "boolean" - } - }, - "description": "Domaine" - }, - "DomainRecord": { - "type": "object", - "x-itemtype": "DomainRecord", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "data": { - "type": "string", - "description": "The raw data part of a DNS record", - "example": "10 mail.example.com" - }, - "data_obj": { - "type": "string", - "description": "JSON-encoded data object for the record", - "example": "{\"priority\":10,\"server\":\"mail.example.com\"}" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "domain": { - "type": "object", - "x-itemtype": "Domain", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Domain" - }, - "type": { - "type": "object", - "x-itemtype": "DomainRecordType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DomainRecordType" - }, - "ttl": { - "type": "integer", - "format": "int32", - "description": "Time to live in seconds" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Enregistrement de domaine" - }, - "DomainRecordType": { - "x-itemtype": "DomainRecordType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "fields": { - "type": "string", - "description": "JSON encoded array of field definitions. Each field definition is an array containing at least a \"key\" and \"label\" string. Optional properties include \"placeholder\" (string), \"quote_value\" (boolean), and \"is_fqdn\" (boolean)." - } - }, - "description": "Type d'enregistrement" - }, - "DomainRelation": { - "x-itemtype": "DomainRelation", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - } - }, - "description": "Relation de domaine" - }, - "DomainType": { - "x-itemtype": "DomainType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - } - }, - "description": "Type de domaine" - }, - "Domain_Item": { - "type": "object", - "x-itemtype": "Domain_Item", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "domain": { - "type": "object", - "x-itemtype": "Domain", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Domain" - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "relation": { - "type": "object", - "x-itemtype": "DomainRelation", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DomainRelation" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - } - }, - "description": "\u00c9l\u00e9ment associ\u00e9 au domaine" - }, - "Drive": { - "x-itemtype": "DeviceDrive", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_writer": { - "type": "boolean" - }, - "speed": { - "type": "string" - }, - "interface": { - "type": "object", - "x-itemtype": "InterfaceType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "InterfaceType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceDriveModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DriveModel" - } - }, - "description": "Lecteur" - }, - "DriveItem": { - "x-itemtype": "Item_DeviceDrive", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "drive": { - "type": "object", - "x-itemtype": "DeviceDrive", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Drive" - }, - "busID": { - "type": "string" - } - }, - "description": "Lecteur \u00e9l\u00e9ment" - }, - "DriveModel": { - "x-itemtype": "DeviceDriveModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de lecteur" - }, - "EmailAddress": { - "x-itemtype": "UserEmail", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "email": { - "type": "string", - "description": "Email address" - }, - "is_default": { - "type": "boolean", - "description": "Is default" - }, - "is_dynamic": { - "type": "boolean", - "description": "Is dynamic" - } - }, - "description": "E-mail" - }, - "EmailAuthServer": { - "x-itemtype": "AuthMail", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "connection_string": { - "type": "string", - "description": "IMAP connection string in the PHP format", - "example": "{imap.example.com:993\/imap\/ssl}", - "maxLength": 255 - }, - "domain": { - "type": "string", - "description": "Email domain associated to this authentication server. Used to set user email addresses.", - "example": "example.com", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "is_active": { - "type": "boolean", - "default": false - }, - "is_default": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Serveur mails" - }, - "EmailCollector": { - "x-itemtype": "MailCollector", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "host": { - "type": "string", - "maxLength": 255 - }, - "login": { - "type": "string", - "maxLength": 255 - }, - "password": { - "type": "string", - "writeOnly": true, - "maxLength": 255 - }, - "max_filesize": { - "type": "integer", - "description": "Maximum size of email attachments to process, in bytes", - "minimum": 0, - "default": 2097152 - }, - "comment": { - "type": "string" - }, - "is_active": { - "type": "boolean", - "default": false - }, - "accepted_folder": { - "type": "string", - "description": "Name of the folder where emails are moved if processing was successful", - "maxLength": 255 - }, - "rejected_folder": { - "type": "string", - "description": "Name of the folder where emails are moved if processing failed", - "maxLength": 255 - }, - "errors": { - "type": "integer", - "description": "Number of connection errors", - "readOnly": true - }, - "use_mail_date": { - "type": "boolean", - "description": "Whether to use the email date as the item creation date", - "default": false - }, - "requester_field": { - "type": "boolean", - "description": "Use Reply-To header value instead of FROM header value as requester (when available)", - "default": false - }, - "add_to_to_observer": { - "type": "boolean", - "description": "Add all TO header email addresses as ticket observers", - "default": true - }, - "add_cc_to_observer": { - "type": "boolean", - "description": "Add all CC header email addresses as ticket observers", - "default": false - }, - "collect_only_unread": { - "type": "boolean", - "description": "Collect only unread emails", - "default": false - }, - "create_user_from_email": { - "type": "boolean", - "description": "Create a new user if the email address of the requester does not exist in GLPI", - "default": false - }, - "date_last_collect": { - "type": "string", - "format": "date-time", - "description": "Date and time of the last collection", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Collecteur" - }, - "Enclosure": { - "x-itemtype": "Enclosure", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "model": { - "type": "object", - "x-itemtype": "EnclosureModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "EnclosureModel" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "orientation": { - "type": "integer", - "format": "int32" - }, - "power_supplies": { - "type": "integer", - "format": "int32" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - } - }, - "description": "Ch\u00e2ssis" - }, - "EnclosureModel": { - "x-itemtype": "EnclosureModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string", - "maxLength": 255 - }, - "weight": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "rack_units": { - "type": "integer", - "minimum": 1, - "default": 1 - }, - "depth": { - "type": "number", - "format": "float", - "default": 1, - "enum": [ - 0.25, - 0.33, - 0.5, - 1 - ] - }, - "power_connections": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "power_consumption": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "is_half_rack": { - "type": "boolean", - "default": false - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de ch\u00e2ssis" - }, - "Entity": { - "x-itemtype": "Entity", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Name" - }, - "comment": { - "type": "string", - "description": "Comment" - }, - "completename": { - "type": "string", - "description": "Complete name", - "readOnly": true - }, - "parent": { - "type": "object", - "x-itemtype": "Entity", - "x-full-schema": "Entity", - "description": "Parent entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string", - "description": "Name" - } - } - }, - "level": { - "type": "integer", - "description": "Level", - "readOnly": true - }, - "registration_number": { - "type": "string", - "maxLength": 255 - }, - "address": { - "type": "string" - }, - "postcode": { - "type": "string", - "maxLength": 255 - }, - "city": { - "type": "string", - "maxLength": 255 - }, - "state": { - "type": "string", - "maxLength": 255 - }, - "country": { - "type": "string", - "maxLength": 255 - }, - "latitude": { - "type": "string", - "maxLength": 255 - }, - "longitude": { - "type": "string", - "maxLength": 255 - }, - "altitude": { - "type": "string", - "maxLength": 255 - }, - "website": { - "type": "string", - "format": "uri", - "maxLength": 255 - }, - "phone": { - "type": "string", - "maxLength": 255 - }, - "fax": { - "type": "string", - "maxLength": 255 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 255 - }, - "admin_email": { - "type": "string", - "format": "email", - "maxLength": 255 - }, - "admin_email_name": { - "type": "string", - "maxLength": 255 - }, - "from_email": { - "type": "string", - "format": "email", - "maxLength": 255 - }, - "from_email_name": { - "type": "string", - "maxLength": 255 - }, - "noreply_email": { - "type": "string", - "format": "email", - "maxLength": 255 - }, - "noreply_email_name": { - "type": "string", - "maxLength": 255 - }, - "replyto_email": { - "type": "string", - "format": "email", - "maxLength": 255 - }, - "replyto_email_name": { - "type": "string", - "maxLength": 255 - }, - "notification_subject_tag": { - "type": "string", - "maxLength": 255 - }, - "ldap_dn": { - "type": "string", - "description": "DN of the entity in LDAP. Used as the base DN when doing LDAP searches to import new users." - }, - "tag": { - "type": "string", - "maxLength": 255, - "description": "Tag of the entity populated by an inventory tool." - }, - "authldap": { - "type": "object", - "x-itemtype": "AuthLDAP", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "LDAPDirectory" - }, - "mail_domain": { - "type": "string", - "maxLength": 255, - "description": "Email domain of the entity" - }, - "entity_ldapfilter": { - "type": "string" - }, - "mailing_signature": { - "type": "string" - }, - "url_base": { - "type": "string", - "format": "uri", - "description": "Base URL of the GLPI instance used by this entity. Used when generating links in notifications for users of this entity." - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Entit\u00e9" - }, - "EntityTransferRecord": { - "type": "object", - "properties": { - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer" - }, - "entity": { - "type": "integer" - }, - "options": { - "type": "object", - "properties": { - "keep_ticket": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Delete permanently\n- 1: Disconnect\n- 2: Keep" - }, - "keep_networklink": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Delete permanently\n- 1: Disconnect\n- 2: Keep" - }, - "keep_reservation": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "keep_history": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "keep_device": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "keep_infocom": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "keep_dc_monitor": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_dc_monitor": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_dc_phone": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_dc_phone": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_dc_peripheral": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_dc_peripheral": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_dc_printer": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_dc_printer": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_supplier": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_supplier": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_contact": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_contact": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_contract": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_contract": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_disk": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "keep_software": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_software": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_document": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_document": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_cartridgeitem": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_cartridgeitem": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "keep_cartridge": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "keep_consumable": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "keep_certificate": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - }, - "clean_certificate": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1, - 2 - ], - "description": "- 0: Keep\n- 1: Put in trashbin\n- 2: Delete permanently" - }, - "lock_updated_fields": { - "type": "boolean", - "default": false - }, - "keep_location": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ], - "description": "- 0: Delete permanently\n- 1: Keep" - } - } - } - } - }, - "EventCategory": { - "x-itemtype": "PlanningEventCategory", - "type": "object", - "description": "Cat\u00e9gorie d'\u00e9v\u00e8nement", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "color": { - "type": "string", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - } - }, - "EventLog": { - "x-itemtype": "Glpi\\Event", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "date": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "service": { - "type": "string", - "readOnly": true - }, - "level": { - "type": "integer", - "readOnly": true, - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": " Log level:\n - 1: Critical (login errors only)\n - 2: Severe\n - 3: Important (successful logins)\n - 4: Notice (add, delete, update actions)\n - 5: Other" - }, - "message": { - "type": "string", - "readOnly": true - } - }, - "description": "Journal des \u00e9v\u00e8nements" - }, - "ExternalEvent": { - "x-itemtype": "PlanningExternalEvent", - "type": "object", - "description": "\u00c9v\u00e8nement externe", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "name": { - "type": "string" - }, - "text": { - "type": "string", - "format": "html" - }, - "template": { - "type": "object", - "x-itemtype": "PlanningExternalEventTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ExternalEventTemplate" - }, - "category": { - "type": "object", - "x-itemtype": "PlanningEventCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "EventCategory" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "rrule": { - "type": "string" - }, - "state": { - "type": "integer", - "format": "int64" - }, - "is_background": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - } - }, - "ExternalEventTemplate": { - "x-itemtype": "PlanningExternalEventTemplate", - "type": "object", - "description": "Gabarit d'\u00e9v\u00e8nement externe", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "text": { - "type": "string", - "format": "html" - }, - "comment": { - "type": "string" - }, - "duration": { - "type": "integer" - }, - "before_time": { - "type": "integer" - }, - "rrule": { - "type": "string" - }, - "category": { - "type": "object", - "x-itemtype": "PlanningEventCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "EventCategory" - }, - "state": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": "The state of the event.\n- 1: Information\n- 2: To do\n- 3: Done" - }, - "is_background": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - } - }, - "ExternalLink": { - "x-itemtype": "Link", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "link": { - "type": "string", - "maxLength": 255 - }, - "data": { - "type": "string" - }, - "open_window": { - "type": "boolean", - "default": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Lien externe" - }, - "FieldUnicity": { - "x-itemtype": "FieldUnicity", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "itemtype": { - "type": "string", - "maxLength": 255 - }, - "fields": { - "type": "string", - "description": "Comma-separated list of field names that must be unique together for the given itemtype", - "example": "serial,locations_id" - }, - "comment": { - "type": "string" - }, - "is_active": { - "type": "boolean", - "default": false - }, - "action_refuse": { - "type": "boolean", - "description": "Whether to refuse the creation\/modification of items that would violate the unicity constraint.", - "default": false - }, - "action_notify": { - "type": "boolean", - "description": "Whether to send a notification when a unicity constraint is violated.", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Unicit\u00e9 des champs" - }, - "Filesystem": { - "type": "object", - "x-itemtype": "Filesystem", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Syst\u00e8me de fichier" - }, - "Firmware": { - "x-itemtype": "DeviceFirmware", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "version": { - "type": "string" - }, - "type": { - "type": "object", - "x-itemtype": "DeviceFirmwareType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "FirmwareType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceFirmwareModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "FirmwareModel" - } - }, - "description": "Firmware" - }, - "FirmwareItem": { - "x-itemtype": "Item_DeviceFirmware", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "firmware": { - "type": "object", - "x-itemtype": "DeviceFirmware", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Firmware" - } - }, - "description": "Firmware \u00e9l\u00e9ment" - }, - "FirmwareModel": { - "x-itemtype": "DeviceFirmwareModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de firmware" - }, - "FirmwareType": { - "x-itemtype": "DeviceFirmwareType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de firmware" - }, - "Followup": { - "x-itemtype": "ITILFollowup", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "is_private": { - "type": "boolean" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "request_type": { - "type": "object", - "x-itemtype": "RequestType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "RequestType" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" - }, - "source_item_id": { - "type": "integer", - "format": "int64" - }, - "source_of_item_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "Suivi" - }, - "FollowupTemplate": { - "type": "object", - "x-itemtype": "ITILFollowupTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "content": { - "type": "string", - "format": "html" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "is_private": { - "type": "boolean", - "default": false - }, - "request_type": { - "type": "object", - "x-itemtype": "RequestType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "RequestType" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Gabarit de suivi" - }, - "GenericDevice": { - "x-itemtype": "DeviceGeneric", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "DeviceGenericType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "GenericDeviceType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceGenericModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "GenericDeviceModel" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - } - }, - "description": "Composant g\u00e9n\u00e9rique" - }, - "GenericDeviceItem": { - "x-itemtype": "Item_DeviceGeneric", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "generic_device": { - "type": "object", - "x-itemtype": "DeviceGeneric", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "GenericDevice" - } - }, - "description": "Composant g\u00e9n\u00e9rique \u00e9l\u00e9ment" - }, - "GenericDeviceModel": { - "x-itemtype": "DeviceGenericModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de composant g\u00e9n\u00e9rique" - }, - "GenericDeviceType": { - "x-itemtype": "DeviceGenericType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - } - }, - "description": "Type g\u00e9n\u00e9rique" - }, - "GlobalStats": { - "type": "object", - "properties": { - "sample_dates": { - "type": "array", - "description": "The dates the stats are for", - "items": { - "type": "string", - "format": "date" - } - }, - "number_open": { - "type": "array", - "description": "The number of assistance items opened during the period", - "items": { - "type": "integer" - } - }, - "number_solved": { - "type": "array", - "description": "The number of assistance items solved during the period", - "items": { - "type": "integer" - } - }, - "number_late": { - "type": "array", - "description": "The number of late assistance items during the period", - "items": { - "type": "integer" - } - }, - "number_closed": { - "type": "array", - "description": "The number of assistance items closed during the period", - "items": { - "type": "integer" - } - }, - "satisfaction_surveys_open": { - "type": "array", - "description": "The number of satisfaction surveys opened during the period", - "items": { - "type": "integer" - } - }, - "satisfaction_surveys_answered": { - "type": "array", - "description": "The number of satisfaction surveys answered during the period", - "items": { - "type": "integer" - } - }, - "satisfaction_surveys_avg_rating": { - "type": "array", - "description": "The average rating of the satisfaction surveys based on the answer date", - "items": { - "type": "number", - "format": "float" - } - }, - "time_solve_avg": { - "type": "array", - "description": "The average time it took to resolve the assistance items (in seconds)", - "items": { - "type": "integer" - } - }, - "time_close_avg": { - "type": "array", - "description": "The average time it took to close the assistance items (in seconds)", - "items": { - "type": "integer" - } - }, - "time_treatment_avg": { - "type": "array", - "description": "The average time it took to completely treat the assistance items (in seconds)", - "items": { - "type": "integer" - } - } - } - }, - "GraphicCard": { - "x-itemtype": "DeviceGraphicCard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "chipset": { - "type": "string" - }, - "memory_default": { - "type": "integer", - "format": "int32" - }, - "interface": { - "type": "object", - "x-itemtype": "InterfaceType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "InterfaceType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceGraphicCardModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "GraphicCardModel" - } - }, - "description": "Carte graphique" - }, - "GraphicCardItem": { - "x-itemtype": "Item_DeviceGraphicCard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "graphic_card": { - "type": "object", - "x-itemtype": "DeviceGraphicCard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "GraphicCard" - }, - "busID": { - "type": "string" - }, - "memory": { - "type": "integer", - "format": "int32" - } - }, - "description": "Carte graphique \u00e9l\u00e9ment" - }, - "GraphicCardModel": { - "x-itemtype": "DeviceGraphicCardModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de carte graphique" - }, - "Group": { - "x-itemtype": "Group", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Name" - }, - "comment": { - "type": "string", - "description": "Comment" - }, - "completename": { - "type": "string", - "description": "Complete name", - "readOnly": true - }, - "parent": { - "type": "object", - "x-itemtype": "Group", - "x-full-schema": "Group", - "description": "Parent group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string", - "description": "Name" - } - } - }, - "level": { - "type": "integer", - "description": "Level", - "readOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "code": { - "type": "string", - "maxLength": 255 - }, - "ldap_field": { - "type": "string", - "maxLength": 255, - "description": "Attribute of LDAP users that may contain this group for membership (memberof)" - }, - "ldap_value": { - "type": "string", - "description": "Value of the LDAP attribute to match for membership. Usually the DN of the group." - }, - "ldap_group_dn": { - "type": "string", - "description": "DN of the group in LDAP. Only populated in certain cases. If you want to know the group DN you need to check both this and ldap_value fields." - }, - "maybe_requester": { - "type": "boolean", - "description": "Can be a requester" - }, - "maybe_observer": { - "type": "boolean", - "description": "Can be an observer" - }, - "maybe_assigned": { - "type": "boolean", - "description": "Can be assigned" - }, - "maybe_assigned_task": { - "type": "boolean", - "description": "Can be assigned to tasks" - }, - "maybe_notified": { - "type": "boolean", - "description": "Can be notified" - }, - "may_contain_items": { - "type": "boolean", - "description": "Can contain items" - }, - "may_contain_users": { - "type": "boolean", - "description": "Can contain users" - }, - "maybe_manager": { - "type": "boolean", - "description": "Can be manager" - }, - "recursive_membership": { - "type": "boolean", - "description": "Whether users of this group are implied members of all child groups" - }, - "mfa_enforced": { - "type": "boolean", - "description": "Is two-factor authentication enforced for members of this group" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Groupe" - }, - "HardDrive": { - "x-itemtype": "DeviceHardDrive", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "rpm": { - "type": "string" - }, - "cache": { - "type": "string" - }, - "capacity_default": { - "type": "integer", - "format": "int32" - }, - "interface": { - "type": "object", - "x-itemtype": "InterfaceType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "InterfaceType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceHardDriveModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "HardDriveModel" - } - }, - "description": "Disque dur" - }, - "HardDriveItem": { - "x-itemtype": "Item_DeviceHardDrive", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "hard_drive": { - "type": "object", - "x-itemtype": "DeviceHardDrive", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "HardDrive" - }, - "busID": { - "type": "string" - }, - "capacity": { - "type": "integer", - "format": "int32" - } - }, - "description": "Disque dur \u00e9l\u00e9ment" - }, - "HardDriveModel": { - "x-itemtype": "DeviceHardDriveModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de disque dur" - }, - "HardDriveType": { - "x-itemtype": "DeviceHardDriveType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - } - }, - "description": "Type de disque dur" - }, - "ITILCategory": { - "x-itemtype": "ITILCategory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "level": { - "type": "integer", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "parent": { - "type": "object", - "x-itemtype": "ITILCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ITILCategory" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "code": { - "type": "string" - }, - "is_helpdesk_visible": { - "type": "boolean" - }, - "ticket_incident_template": { - "type": "object", - "x-itemtype": "TicketTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TicketTemplate" - }, - "ticket_request_template": { - "type": "object", - "x-itemtype": "TicketTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TicketTemplate" - }, - "change_template": { - "type": "object", - "x-itemtype": "ChangeTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ChangeTemplate" - }, - "problem_template": { - "type": "object", - "x-itemtype": "ProblemTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProblemTemplate" - }, - "is_incident_visible": { - "type": "boolean" - }, - "is_request_visible": { - "type": "boolean" - }, - "is_change_visible": { - "type": "boolean" - }, - "is_problem_visible": { - "type": "boolean" - }, - "knowbase_category": { - "type": "object", - "x-itemtype": "KnowbaseItemCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBCategory" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Cat\u00e9gorie ITIL" - }, - "ITILReminder": { - "x-itemtype": "ITILReminder", - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "pending_reason": { - "type": "object", - "x-itemtype": "PendingReason", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PendingReason" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "content": { - "type": "string", - "format": "html" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Rappel automatique" - }, - "ITILStats": { - "type": "object", - "properties": { - "item": { - "type": "object", - "description": "The item the stats are grouped by", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - } - } - }, - "number_open": { - "type": "integer", - "description": "The number of open assistance items" - }, - "number_solved": { - "type": "integer", - "description": "The number of solved assistance items" - }, - "number_late": { - "type": "integer", - "description": "The number of late assistance items" - }, - "number_closed": { - "type": "integer", - "description": "The number of closed assistance items" - }, - "satisfaction_surveys_open": { - "type": "integer", - "description": "The number of open satisfaction surveys" - }, - "satisfaction_surveys_answered": { - "type": "integer", - "description": "The number of answered satisfaction surveys" - }, - "satisfaction_surveys_avg_rating": { - "type": "number", - "format": "float", - "description": "The average rating of the satisfaction surveys" - }, - "time_take_into_account_avg": { - "type": "integer", - "description": "The average time it took to take the assistance items into account (in seconds)" - }, - "time_solve_avg": { - "type": "integer", - "description": "The average time it took to resolve the assistance items (in seconds)" - }, - "time_close_avg": { - "type": "integer", - "description": "The average time it took to close the assistance items (in seconds)" - }, - "time_treatment_avg": { - "type": "integer", - "description": "The average time it took to completely treat the assistance items (in seconds)" - }, - "time_treatment_total": { - "type": "integer", - "description": "The total time it took to completely treat the assistance items (in seconds)" - } - } - }, - "ITIL_Project": { - "x-itemtype": "Itil_Project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "project": { - "type": "object", - "x-itemtype": "Project", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Project" - }, - "itemtype": { - "type": "string", - "enum": [ - "Ticket", - "Change", - "Problem" - ] - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "Lien Projet \/ Itil" - }, - "Infocom": { - "type": "object", - "x-itemtype": "Infocom", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_buy": { - "type": "string", - "format": "date" - }, - "date_use": { - "type": "string", - "format": "date" - }, - "date_order": { - "type": "string", - "format": "date" - }, - "date_delivery": { - "type": "string", - "format": "date" - }, - "date_inventory": { - "type": "string", - "format": "date" - }, - "date_warranty": { - "type": "string", - "format": "date" - }, - "date_decommission": { - "type": "string", - "format": "date" - }, - "warranty_info": { - "type": "string" - }, - "warranty_value": { - "type": "number", - "format": "float" - }, - "warranty_duration": { - "type": "integer", - "format": "int32", - "description": "Warranty duration in months" - }, - "budget": { - "type": "object", - "x-itemtype": "Budget", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "supplier": { - "type": "object", - "x-itemtype": "Supplier", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "order_number": { - "type": "string" - }, - "delivery_number": { - "type": "string" - }, - "immo_number": { - "type": "string" - }, - "invoice_number": { - "type": "string" - }, - "value": { - "type": "number", - "format": "float" - }, - "amortization_type": { - "type": "string", - "enum": [ - 0, - 1, - 2 - ], - "description": "The amortization type:\n- 0: No amortization\n- 1: Decreasing\n- 2: Linear" - }, - "amortization_time": { - "type": "integer", - "format": "int32", - "description": "Amortization duration in years" - }, - "amortization_coeff": { - "type": "number", - "format": "float", - "description": "Amortization coefficient" - }, - "business_criticity": { - "type": "object", - "x-itemtype": "BusinessCriticity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - } - }, - "description": "Informations financi\u00e8res et administratives" - }, - "InterfaceType": { - "x-itemtype": "InterfaceType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type d'interface (disque dur...)" - }, - "Item_Line": { - "x-itemtype": "Item_Line", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "line": { - "type": "object", - "x-itemtype": "Line", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Line" - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "Rubrique" - }, - "Item_Plug": { - "x-itemtype": "Item_Plug", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "plug": { - "type": "object", - "x-itemtype": "Plug", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Plug" - }, - "itemtype": { - "type": "string", - "maxLength": 255 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "number_plugs": { - "type": "integer", - "minimum": 1 - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "Prise", - "required": [ - "plug", - "itemtype", - "items_id", - "number_plugs" - ] - }, - "Item_Project": { - "x-itemtype": "Item_Project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "project": { - "type": "object", - "x-itemtype": "Project", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Project" - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "\u00c9l\u00e9ment associ\u00e9 au projet" - }, - "KBArticle": { - "x-itemtype": "KnowbaseItem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html" - }, - "categories": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "KBCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - } - } - } - }, - "is_faq": { - "type": "boolean", - "default": false - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "views": { - "type": "integer", - "format": "int64" - }, - "show_in_service_catalog": { - "type": "boolean", - "default": false - }, - "description": { - "type": "string", - "format": "html", - "description": "Short description of the article which may be shown in the service catalog. If null, the content field will be used as description." - }, - "illustration": { - "type": "string", - "description": "Name of the illustration to show in the service catalog.", - "enum": [ - "advanced-dashboards", - "advanced-forms", - "agent-config", - "alert", - "anonymise", - "anonymize-alt", - "ansible", - "antivirus", - "application", - "application-altenative", - "application-edit", - "approval-by-mail", - "approve-requests", - "asset-cartridge", - "asset-desktop-1", - "asset-desktop-2", - "asset-laptop", - "asset-lost", - "asset-network-equipment", - "asset-peripheral", - "asset-phone", - "asset-printer", - "asset-server", - "asset-smartphone", - "backup-restoration-1", - "backup-restoration-2", - "bank", - "bi-reporting-1", - "bi-reporting-2", - "bi-reporting-3", - "bi-reporting-4", - "bookmark", - "branding", - "browse-kb", - "building", - "calendar", - "car", - "carbon", - "centreon", - "chart-area", - "chart-bar", - "chart-donut", - "chart-line", - "chart-multiple", - "chart-pie", - "chart-search", - "chat-1", - "chat-2", - "cloud", - "cloud-instance", - "cloud-inventory", - "cloud-network-1", - "cloud-network-2", - "cloud-usage", - "collaborative-tools", - "connectivity-issue", - "container", - "containers", - "contract-signing-1", - "contract-signing-2", - "credit", - "data-export", - "data-injection", - "database", - "database-add", - "delivery", - "diagnostic", - "doc-developer", - "documentation", - "download", - "error-404", - "escalade", - "factory", - "faq", - "fields", - "file-sheet", - "firewall", - "fixing-bug", - "fixing-bug-2", - "folder", - "formcreator", - "gantt", - "gdpr-tools", - "gear", - "gear-hand", - "generic-objects", - "glpi-ai", - "glpi-cloud-support-1", - "glpi-cloud-support-2", - "group", - "group-alternative-1", - "group-alternative-2", - "group-web", - "helpdesk", - "hierarchy", - "holiday", - "inbox", - "inventory", - "inventory-numbers", - "items-export", - "kb-faq", - "ldap-diagnostic", - "ldap-inventory", - "ldap-manage", - "legal", - "license", - "location-1", - "location-2", - "locations", - "lock", - "mobility", - "monitoring", - "more-options", - "more-satisfaction", - "network-inventory", - "new-user-1", - "new-user-2", - "new-user-3", - "new-user-4", - "newspaper", - "notes", - "oauth-imap", - "oauth-sso", - "on-premise", - "order-management", - "order-supplies", - "partner", - "pdf-export", - "phone-inventory", - "presentation", - "print-job", - "printer-inventory", - "question", - "rename-glpi-strings", - "report-issue", - "request-service", - "request-support", - "reservation", - "reset-password-1", - "reset-password-2", - "reset-password-3", - "rss-feeds", - "scim", - "security", - "settings", - "settings-search", - "shaking-hands", - "shared-folder", - "shared-inbox", - "software-deployment", - "splitcat", - "tag", - "technical-assistance-1", - "technical-assistance-2", - "ticket", - "tickets", - "time", - "training", - "translation", - "tutorial", - "uninstall", - "unread-messages", - "update-1", - "update-2", - "user-laptop", - "user-offboarding", - "virus", - "vpn", - "web", - "webinar", - "wharehouse", - "world", - "youtube" - ] - }, - "is_pinned": { - "type": "boolean", - "description": "Whether the article is pinned in the service catalog.", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date_begin": { - "type": "string", - "format": "date-time", - "description": "The date and time when the article becomes visible. If null, the article is visible immediately." - }, - "date_end": { - "type": "string", - "format": "date-time", - "description": "The date and time when the article is no longer visible. If null, the article is visible indefinitely." - }, - "revisions": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "KBArticleRevision", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "revision": { - "type": "integer" - }, - "language": { - "type": "string", - "description": "Language code (POSIX compliant format e.g. en_US or fr_FR)" - }, - "date": { - "type": "string", - "format": "date-time" - } - } - } - }, - "translations": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "KBArticleTranslation", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "language": { - "type": "string", - "description": "Language code (POSIX compliant format e.g. en_US or fr_FR)" - }, - "name": { - "type": "string" - } - } - } - } - }, - "description": "Base de connaissances" - }, - "KBArticleComment": { - "x-itemtype": "KnowbaseItem_Comment", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "language": { - "type": "string", - "description": "Language code (POSIX compliant format e.g. en_US or fr_FR)" - }, - "comment": { - "type": "string" - }, - "parent": { - "type": "object", - "x-full-schema": "KBArticleComment", - "x-itemtype": "KnowbaseItem_Comment", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Commentaire" - }, - "KBArticleRevision": { - "x-itemtype": "KnowbaseItem_Revision", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "revision": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html" - }, - "language": { - "type": "string", - "description": "Language code (POSIX compliant format e.g. en_US or fr_FR)" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "date": { - "type": "string", - "format": "date-time" - } - }, - "description": "R\u00e9vision" - }, - "KBArticleTranslation": { - "x-itemtype": "KnowbaseItemTranslation", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "language": { - "type": "string", - "description": "Language code (POSIX compliant format e.g. en_US or fr_FR)" - }, - "name": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Traduction" - }, - "KBArticle_EntityTarget": { - "x-itemtype": "Entity_KnowbaseItem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "KBArticle_GroupTarget": { - "x-itemtype": "Group_KnowbaseItem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "group": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "KBArticle_Item": { - "x-itemtype": "KnowbaseItem_Item", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Objet de la base de connaissances" - }, - "KBArticle_ProfileTarget": { - "x-itemtype": "KnowbaseItem_Profile", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "profile": { - "type": "object", - "x-itemtype": "Profile", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Profile" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "KBArticle_UserTarget": { - "x-itemtype": "KnowbaseItem_User", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "kbarticle": { - "type": "object", - "x-itemtype": "KnowbaseItem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBArticle" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "KBCategory": { - "x-itemtype": "KnowbaseItemCategory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "completename": { - "type": "string", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "parent": { - "type": "object", - "x-itemtype": "KnowbaseItemCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "KBCategory" - }, - "level": { - "type": "integer", - "description": "Level", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Cat\u00e9gorie de la base de connaissances" - }, - "LDAPDirectory": { - "x-itemtype": "AuthLDAP", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "host": { - "type": "string" - }, - "port": { - "type": "integer", - "min": 1, - "max": 65535, - "default": 389 - }, - "is_default": { - "type": "boolean" - }, - "is_active": { - "type": "boolean" - }, - "comment": { - "type": "string" - }, - "connection_filter": { - "type": "string", - "description": "LDAP filter to restrict the search for users" - }, - "basedn": { - "type": "string", - "description": "The distinguished name in the directory from which the searches will be made" - }, - "use_bind": { - "type": "boolean", - "description": "Whether to bind to the directory with a specific user or anonymously" - }, - "rootdn": { - "type": "string", - "description": "The distinguished name of the user to bind to the directory" - }, - "rootdn_password": { - "type": "string", - "writeOnly": true, - "description": "The password of the user to bind to the directory" - }, - "login_field": { - "type": "string", - "description": "The attribute corresponding to the login" - }, - "sync_field": { - "type": "string", - "description": "The attribute to use to uniquely identify a user (usually objectguid or employeeuid)" - } - }, - "description": "Annuaire LDAP" - }, - "LDAPDirectoryReplicate": { - "x-itemtype": "AuthLdapReplicate", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "ldap_directory": { - "type": "object", - "x-itemtype": "AuthLDAP", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "LDAPDirectory" - }, - "host": { - "type": "string", - "maxLength": 255 - }, - "port": { - "type": "integer", - "min": 1, - "max": 65535, - "default": 389 - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "timeout": { - "type": "integer", - "description": "Connection timeout in seconds", - "minimum": 1, - "maximum": 30, - "default": 10 - } - }, - "description": "G\u00e9n\u00e9ral" - }, - "License": { - "type": "object", - "x-itemtype": "SoftwareLicense", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "SoftwareLicenseType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "LicenseType" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "level": { - "type": "integer", - "readOnly": true - } - }, - "description": "Licence" - }, - "LicenseType": { - "x-itemtype": "SoftwareLicenseType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "parent": { - "type": "object", - "x-itemtype": "SoftwareLicenseType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "LicenseType" - }, - "level": { - "type": "integer", - "readOnly": true - }, - "completename": { - "type": "string", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de licences" - }, - "Line": { - "type": "object", - "x-itemtype": "Line", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "LineType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "LineType" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "caller_num": { - "type": "string", - "maxLength": 255 - }, - "caller_name": { - "type": "string", - "maxLength": 255 - }, - "operator": { - "type": "object", - "x-itemtype": "LineOperator", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "LineOperator" - } - }, - "description": "Ligne t\u00e9l\u00e9phonique" - }, - "LineOperator": { - "x-itemtype": "LineOperator", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "mcc": { - "type": "integer", - "description": "Mobile Country Code" - }, - "mnc": { - "type": "integer", - "description": "Mobile Network Code" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Op\u00e9rateur t\u00e9l\u00e9phonique" - }, - "LineType": { - "x-itemtype": "LineType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de ligne" - }, - "Location": { - "type": "object", - "x-itemtype": "Location", - "description": "Lieu", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "code": { - "type": "string" - }, - "alias": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "parent": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "level": { - "type": "integer", - "readOnly": true - }, - "room": { - "type": "string" - }, - "building": { - "type": "string" - }, - "address": { - "type": "string" - }, - "town": { - "type": "string" - }, - "postcode": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "latitude": { - "type": "string" - }, - "longitude": { - "type": "string" - }, - "altitude": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - } - }, - "LockedField": { - "x-itemtype": "Lockedfield", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 255 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "field": { - "type": "string", - "maxLength": 50 - }, - "value": { - "type": "string", - "description": "The last inventoried value of the locked field.", - "maxLength": 255 - }, - "is_global": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "Champ verrouill\u00e9" - }, - "ManualLink": { - "x-itemtype": "ManualLink", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 255 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "url": { - "type": "string", - "maxLength": 8096 - }, - "open_window": { - "type": "boolean", - "default": true - }, - "icon": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Lien manuel" - }, - "Manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "description": "Fabricant", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - } - }, - "Memory": { - "x-itemtype": "DeviceMemory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "frequency": { - "type": "string" - }, - "size_default": { - "type": "integer", - "format": "int32" - }, - "type": { - "type": "object", - "x-itemtype": "DeviceMemoryType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "MemoryType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceMemoryModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "MemoryModel" - } - }, - "description": "M\u00e9moire" - }, - "MemoryItem": { - "x-itemtype": "Item_DeviceMemory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "memory": { - "type": "object", - "x-itemtype": "DeviceMemory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Memory" - }, - "busID": { - "type": "string" - }, - "size": { - "type": "integer", - "format": "int32" - } - }, - "description": "M\u00e9moire \u00e9l\u00e9ment" - }, - "MemoryModel": { - "x-itemtype": "DeviceMemoryModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de m\u00e9moire" - }, - "MemoryType": { - "x-itemtype": "DeviceMemoryType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de m\u00e9moire" - }, - "Monitor": { - "type": "object", - "x-itemtype": "Monitor", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "MonitorType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "MonitorType" - }, - "model": { - "type": "object", - "x-itemtype": "MonitorModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "MonitorModel" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "size": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "has_microphone": { - "type": "boolean", - "default": false - }, - "has_speaker": { - "type": "boolean", - "default": false - }, - "has_subd": { - "type": "boolean", - "default": false - }, - "has_bnc": { - "type": "boolean", - "default": false - }, - "has_dvi": { - "type": "boolean", - "default": false - }, - "has_pivot": { - "type": "boolean", - "default": false - }, - "has_hdmi": { - "type": "boolean", - "default": false - }, - "has_displayport": { - "type": "boolean", - "default": false - }, - "is_global": { - "type": "boolean", - "default": false - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - }, - "ticket_tco": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "is_dynamic": { - "type": "boolean", - "default": false - } - }, - "description": "Moniteur" - }, - "MonitorModel": { - "x-itemtype": "MonitorModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string", - "maxLength": 255 - }, - "weight": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "rack_units": { - "type": "integer", - "minimum": 1, - "default": 1 - }, - "depth": { - "type": "number", - "format": "float", - "default": 1, - "enum": [ - 0.25, - 0.33, - 0.5, - 1 - ] - }, - "power_connections": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "power_consumption": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "is_half_rack": { - "type": "boolean", - "default": false - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de moniteur" - }, - "MonitorType": { - "x-itemtype": "MonitorType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de moniteur" - }, - "Network": { - "x-itemtype": "Network", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "R\u00e9seau" - }, - "NetworkCard": { - "x-itemtype": "DeviceNetworkCard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "bandwidth": { - "type": "string" - }, - "mac_default": { - "type": "string" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceNetworkCardModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkCardModel" - } - }, - "description": "Carte r\u00e9seau" - }, - "NetworkCardItem": { - "x-itemtype": "Item_DeviceNetworkCard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "network_card": { - "type": "object", - "x-itemtype": "DeviceNetworkCard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkCard" - }, - "busID": { - "type": "string" - }, - "mac": { - "type": "string" - } - }, - "description": "Carte r\u00e9seau \u00e9l\u00e9ment" - }, - "NetworkCardModel": { - "x-itemtype": "DeviceNetworkCardModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de carte r\u00e9seau" - }, - "NetworkEquipment": { - "type": "object", - "x-itemtype": "NetworkEquipment", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "NetworkEquipmentType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkEquipmentType" - }, - "model": { - "type": "object", - "x-itemtype": "NetworkEquipmentModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkEquipmentModel" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "network": { - "type": "object", - "x-itemtype": "Network", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "ram": { - "type": "integer", - "format": "int64" - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - }, - "ticket_tco": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "is_dynamic": { - "type": "boolean", - "default": false - }, - "sysdescr": { - "type": "string" - }, - "cpu": { - "type": "integer" - }, - "last_inventory_update": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "snmp_credential": { - "type": "object", - "x-itemtype": "SNMPCredential", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SNMPCredential" - } - }, - "description": "Mat\u00e9riel r\u00e9seau" - }, - "NetworkEquipmentModel": { - "x-itemtype": "NetworkEquipmentModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string", - "maxLength": 255 - }, - "weight": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "rack_units": { - "type": "integer", - "minimum": 1, - "default": 1 - }, - "depth": { - "type": "number", - "format": "float", - "default": 1, - "enum": [ - 0.25, - 0.33, - 0.5, - 1 - ] - }, - "power_connections": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "power_consumption": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "is_half_rack": { - "type": "boolean", - "default": false - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de mat\u00e9riel r\u00e9seau" - }, - "NetworkEquipmentType": { - "x-itemtype": "NetworkEquipmentType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de mat\u00e9riel r\u00e9seau" - }, - "NetworkPort": { - "x-itemtype": "NetworkPort", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "itemtype": { - "type": "string", - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "instantiation_type": { - "type": "string", - "enum": [ - "NetworkPortEthernet", - "NetworkPortWifi", - "NetworkPortAggregate", - "NetworkPortAlias", - "NetworkPortDialup", - "NetworkPortLocal", - "NetworkPortFiberchannel" - ] - }, - "logical_number": { - "type": "integer" - }, - "mac": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "if_mtu": { - "type": "integer" - }, - "if_speed": { - "type": "integer", - "format": "int64" - }, - "if_internal_status": { - "type": "string" - }, - "if_connection_status": { - "type": "integer" - }, - "if_last_change": { - "type": "string" - }, - "if_in_bytes": { - "type": "integer", - "format": "int64" - }, - "if_out_bytes": { - "type": "integer", - "format": "int64" - }, - "if_in_errors": { - "type": "integer", - "format": "int64" - }, - "if_out_errors": { - "type": "integer", - "format": "int64" - }, - "if_status": { - "type": "string" - }, - "if_description": { - "type": "string" - }, - "if_alias": { - "type": "string" - }, - "port_duplex": { - "type": "string" - }, - "trunk": { - "type": "integer" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Port r\u00e9seau" - }, - "NetworkPortAggregate": { - "type": "object", - "x-itemtype": "NetworkPortAggregate", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "network_port_list": { - "type": "string", - "description": "JSON-encoded array of Network Port IDs that are part of this aggregate port" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Agr\u00e9gation de port" - }, - "NetworkPortAlias": { - "type": "object", - "x-itemtype": "NetworkPortAlias", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "aliased_network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Alias de port" - }, - "NetworkPortDialup": { - "type": "object", - "x-itemtype": "NetworkPortDialup", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Connexion par ligne commut\u00e9e - Dialup" - }, - "NetworkPortEthernet": { - "type": "object", - "x-itemtype": "NetworkPortEthernet", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "network_card": { - "type": "object", - "x-itemtype": "Item_DeviceNetworkCard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "serial": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkCardItem" - }, - "type": { - "type": "string", - "enum": [ - "", - "T", - "SX", - "LX" - ], - "description": " Type of Ethernet port.\n - '': Not specified\n - 'T': Twisted Pair (RJ-45)\n - 'SX': Multimode fiber\n - 'LX': Single mode fiber" - }, - "speed": { - "type": "integer", - "format": "int32", - "description": "Speed of the Ethernet port in Mbps", - "default": 10 - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Port Ethernet" - }, - "NetworkPortFiberchannel": { - "type": "object", - "x-itemtype": "NetworkPortFiberchannel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "network_card": { - "type": "object", - "x-itemtype": "Item_DeviceNetworkCard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "serial": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkCardItem" - }, - "type": { - "type": "object", - "x-itemtype": "NetworkPortFiberchannelType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPortFiberchannelType" - }, - "wwn": { - "type": "string", - "maxLength": 50 - }, - "speed": { - "type": "integer", - "format": "int32", - "description": "Speed of the Fiber Channel port in Mbps", - "default": 10 - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Port Fiber Channel" - }, - "NetworkPortFiberchannelType": { - "type": "object", - "x-itemtype": "NetworkPortFiberchannelType", - "description": "Type de fibre", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - } - }, - "NetworkPortLocal": { - "type": "object", - "x-itemtype": "NetworkPortLocal", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Boucle locale" - }, - "NetworkPortType": { - "x-itemtype": "NetworkPortType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "iftype": { - "type": "integer", - "description": "The interface type as defined by IANA. See https:\/\/www.iana.org\/assignments\/smi-numbers\/smi-numbers.xhtml" - }, - "is_importable": { - "type": "boolean", - "default": false - }, - "instantiation_type": { - "type": "string", - "enum": [ - "NetworkPortEthernet", - "NetworkPortWifi", - "NetworkPortAggregate", - "NetworkPortAlias", - "NetworkPortDialup", - "NetworkPortLocal", - "NetworkPortFiberchannel" - ] - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de port r\u00e9seau", - "required": [ - "iftype" - ] - }, - "NetworkPortWifi": { - "type": "object", - "x-itemtype": "NetworkPortWifi", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "network_card": { - "type": "object", - "x-itemtype": "Item_DeviceNetworkCard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "serial": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkCardItem" - }, - "wifinetwork": { - "type": "object", - "x-itemtype": "WifiNetwork", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "WifiNetwork" - }, - "version": { - "type": "string", - "enum": [ - "", - "a", - "b", - "a\/b", - "a\/b\/g", - "a\/b\/g\/n", - "a\/b\/g\/n\/y", - "ac", - "ax", - "be", - "bn" - ], - "description": " Wi-Fi version.\n - '': Not specified\n - 'a': 802.11a\n - 'b': 802.11b\n - 'a\/b': 802.11a\/b\n - 'a\/b\/g': 802.11a\/b\/g\n - 'a\/b\/g\/n': 802.11a\/b\/g\/n\n - 'a\/b\/g\/n\/y': 802.11a\/b\/g\/n\/y\n - 'ac': 802.11ac (Wi-Fi 5)\n - 'ax': 802.11ax (Wi-Fi 6)\n - 'be': 802.11be (Wi-Fi 7)\n - 'bn': 802.11bn (Wi-Fi 8)" - }, - "mode": { - "type": "string", - "enum": [ - "", - "ad-hoc", - "managed", - "master", - "repeater", - "secondary", - "monitor", - "auto" - ], - "description": " Wi-Fi mode.\n - '': Not specified\n - 'ad-hoc': Ad-Hoc mode\n - 'managed': Managed mode\n - 'master': Master mode\n - 'repeater': Repeater mode\n - 'secondary': Secondary mode\n - 'monitor': Monitor mode\n - 'auto': Automatic mode" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Ports Wifi" - }, - "NotImportedEmail": { - "x-itemtype": "NotImportedEmail", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "from": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "to": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "mail_collector": { - "type": "object", - "x-itemtype": "MailCollector", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "EmailCollector", - "readOnly": true - }, - "date": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "subject": { - "type": "string", - "readOnly": true - }, - "messageid": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "reason": { - "type": "integer", - "enum": [ - 0, - 1, - 2, - 3 - ], - "description": " - 0: No matching rule to assign the ticket to an entity.\n - 1: User unknown. The email address of the requester does not correspond to any user in GLPI.\n - 2: Failed operation\/insert. An error occurred while trying to create the ticket or followup.\n - 3: Not enough rights. The user does not have permission to create the ticket or followup.", - "readOnly": true - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User", - "readOnly": true - } - }, - "description": "Mail rejet\u00e9" - }, - "Note": { - "type": "object", - "x-itemtype": "Notepad", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "content": { - "type": "string", - "format": "html" - }, - "visible_from_ticket": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Note" - }, - "Notification": { - "x-itemtype": "Notification", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "is_active": { - "type": "boolean", - "default": false - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "event": { - "type": "string", - "maxLength": 255, - "description": "The event that triggers the notification. The possible values depend on the type of item the notification is linked to." - }, - "comment": { - "type": "string" - }, - "allow_reply": { - "type": "boolean", - "default": true - }, - "attach_documents": { - "type": "integer", - "enum": [ - -2, - 0, - 1, - 2 - ], - "description": "The way documents are attached to the notification. Possible values are:\n- -2: Use the global setting (inherit from global config)\n- 0 :No document\n- 1: All documents\n- 2: Only documents related to the item that triggers the event" - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "recipients": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "NotificationRecipient", - "properties": { - "id": { - "type": "integer", - "readOnly": true - } - } - } - } - }, - "description": "Notification" - }, - "NotificationRecipient": { - "x-itemtype": "NotificationTarget", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "notification": { - "type": "object", - "x-itemtype": "Notification", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Notification" - }, - "type": { - "type": "integer", - "description": " The type of recipient. Possible values may depend on the type of item the notification is linked to.\n - 1: User\n - 2: Profile\n - 3: Group\n - 4: Seems unused but internally it is referenced as \"people in charge of the database synchronization\". This is probably a legacy type, or it was never truly implemented.\n - 5: Manager of a group\n - 6: Users of a group excluding managers", - "enum": [ - 1, - 2, - 3, - 4, - 5, - 6 - ] - }, - "items_id": { - "type": "integer", - "description": " The IDs or values of the recipient items. The type of items depends on the type of recipient.\n Note that for users, the items_id does NOT refer to a specific user, but rather a type of user.\n For profilers, groups, manager of groups, and users of groups, the items_id refers to the actual IDs of the profiles, groups, etc. that are recipient of the notification.\n Known values for users are:\n - 1: Global administrator\n - 2: Assigned technicians\n - 3: Author\/Owner of the item\n - 4: Previously assigned technician\n - 5: Technician in charge of the item\n - 6: User of the item\n - 7: Recipient (writer of the ticket)\n - 8: Assigned suppliers\n - 9: Assigned group members\n - 10: Manager of the assigned group\n - 11: Entity administrator\n - 12: Manager of the requester group\n - 13: Requester group members\n - 14: Approval answerer (The user that responded to the approval request)\n - 15: Approval requester (The user that made the approval request)\n - 16: Task assigned user\n - 17: Task author\n - 18: Followup author\n - 19: User (used in cases where there is only one related user such as object locks, saved search alerts, and password notifications)\n - 20: Observer groups (groups directly added as an observer, not the groups of observer users)\n - 21: Observer users\n - 22: Manager of the observer group\n - 23: Technician group members in charge of the item\n - 24: Assigned group members, excluding managers\n - 25: Requester group members, excluding managers\n - 26: Observer group members, excluding managers\n - 27: Project manager users\n - 28: Project manager group members\n - 29: Project manager group managers\n - 30: Project manager group members, excluding managers\n - 31: Team member users (used in projects and project tasks)\n - 32: Team member group members (used in projects and project tasks)\n - 33: Team member group managers (used in projects and project tasks)\n - 34: Team member group members, excluding managers (used in projects and project tasks)\n - 35: Team member contacts (used in projects and project tasks)\n - 36: Team member suppliers (used in projects and project tasks)\n - 37: Task assigned group members\n - 38: Planning event guests\n - 39: Mentioned users\n - 40: Approval target\n - 41: Approval target's approved substitutes (users that can approve on behalf of the approval target when they are not available)." - }, - "is_exclusion": { - "type": "boolean", - "default": false - } - }, - "description": "Destinataire" - }, - "NotificationTemplate": { - "x-itemtype": "NotificationTemplate", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "comment": { - "type": "string" - }, - "css": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "translations": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "NotificationTemplateTranslation", - "properties": { - "id": { - "type": "integer", - "readOnly": true - } - } - } - } - }, - "description": "Mod\u00e8le de notifications" - }, - "NotificationTemplateTranslation": { - "x-itemtype": "NotificationTemplateTranslation", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "notification_template": { - "type": "object", - "x-itemtype": "NotificationTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NotificationTemplate" - }, - "language": { - "type": "string", - "maxLength": 10, - "default": "" - }, - "subject": { - "type": "string", - "maxLength": 255 - }, - "content_text": { - "type": "string" - }, - "content_html": { - "type": "string", - "format": "html" - } - }, - "description": "Traduction de mod\u00e8le" - }, - "Notification_NotificationTemplate": { - "x-itemtype": "Notification_NotificationTemplate", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "notification": { - "type": "object", - "x-itemtype": "Notification", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Notification" - }, - "notification_template": { - "type": "object", - "x-itemtype": "NotificationTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NotificationTemplate" - }, - "mode": { - "type": "string", - "description": " The mode of the notification template for the notification.\n Typically only \"mailing\" or \"ajax\", but there are a few other types known to GLPI but not directly used, or which may be added by plugins.\n - mailing: Email notification\n - ajax: Browser notification (client-initiated pull notifications, not real-time push notifications)\n - websocket: Not used by GLPI core\n - sms: Not used by GLPI core\n - xmpp: Not used by GLPI core\n - irc: Not used by GLPI core", - "maxLength": 20, - "enum": [ - "mailing", - "ajax", - "websocket", - "sms", - "xmpp", - "irc" - ] - } - }, - "description": "Gabarit" - }, - "OAuthClient": { - "x-itemtype": "OAuthClient", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "identifier": { - "type": "string", - "description": "The client identifier.", - "readOnly": true - }, - "secret": { - "type": "string", - "description": "The client secret.", - "readOnly": true - }, - "redirect_uri": { - "type": "string", - "description": "JSON encoded array of allowed redirect URIs for this client" - }, - "grants": { - "type": "string", - "description": "JSON encoded array of allowed grant types for this client. Allowed values are \"authorization_code\", \"password\", and \"client_credentials\"." - }, - "scopes": { - "type": "string", - "description": "JSON encoded array of allowed scopes for this client. Allowed values are \"email\", \"user\", \"api\", \"inventory\", \"status\" and \"graphql\"." - }, - "is_active": { - "type": "boolean", - "default": true - }, - "is_confidential": { - "type": "boolean", - "default": true - }, - "allowed_ips": { - "type": "string", - "description": "Comma-separated list of allowed IPs or CIDR blocks. If empty, there is no restriction." - } - }, - "description": "Client OAuth" - }, - "OLA": { - "x-itemtype": "OLA", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "slm": { - "type": "object", - "x-itemtype": "SLM", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SLM" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "type": { - "type": "integer", - "enum": [ - 0, - 1 - ], - "description": " - 0: Time to resolve (TTR)\n - 1: Time to own (TTO)" - }, - "comment": { - "type": "string" - }, - "time": { - "type": "integer", - "description": "Time in the unit defined by the time_unit property" - }, - "time_unit": { - "type": "string", - "enum": [ - "minute", - "hour", - "day", - "month" - ], - "description": "Unit of time for the time property" - }, - "use_ticket_calendar": { - "type": "boolean" - }, - "calendar": { - "type": "object", - "x-itemtype": "Calendar", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Calendar" - }, - "end_of_working_day": { - "type": "boolean", - "description": "Whether the time computation will target the end of the working day" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "OLA" - }, - "OLALevel": { - "x-itemtype": "OlaLevel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "name": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "execution_time": { - "type": "integer" - }, - "operator": { - "type": "string", - "enum": [ - "AND", - "OR" - ] - }, - "ola": { - "type": "object", - "x-itemtype": "OLA", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OLA" - } - }, - "description": "Niveau d'escalade" - }, - "OSInstallation": { - "x-itemtype": "Item_OperatingSystem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 255 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "operatingsystem": { - "type": "object", - "x-itemtype": "OperatingSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystem" - }, - "version": { - "type": "object", - "x-itemtype": "OperatingSystemVersion", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystemVersion" - }, - "edition": { - "type": "object", - "x-itemtype": "OperatingSystemEdition", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystemEdition" - }, - "servicepack": { - "type": "object", - "x-itemtype": "OperatingSystemServicePack", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystemServicePack" - }, - "architecture": { - "type": "object", - "x-itemtype": "OperatingSystemArchitecture", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystemArchitecture" - }, - "kernel_version": { - "type": "object", - "x-itemtype": "OperatingSystemKernelVersion", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystemKernelVersion" - }, - "license_number": { - "type": "string", - "maxLength": 255 - }, - "licenseid": { - "type": "string", - "maxLength": 255 - }, - "company": { - "type": "string", - "maxLength": 255 - }, - "owner": { - "type": "string", - "maxLength": 255 - }, - "hostid": { - "type": "string", - "maxLength": 255 - }, - "date_install": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_deleted": { - "type": "boolean", - "default": false - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - } - }, - "description": "Syst\u00e8me d'exploitation de l'\u00e9l\u00e9ment" - }, - "OperatingSystem": { - "x-itemtype": "OperatingSystem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Syst\u00e8me d'exploitation" - }, - "OperatingSystemArchitecture": { - "x-itemtype": "OperatingSystemArchitecture", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Architecture du syst\u00e8me d'exploitation" - }, - "OperatingSystemEdition": { - "x-itemtype": "OperatingSystemEdition", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "\u00c9dition" - }, - "OperatingSystemKernel": { - "x-itemtype": "OperatingSystemKernel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Noyau" - }, - "OperatingSystemKernelVersion": { - "x-itemtype": "OperatingSystemKernelVersion", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "kernel": { - "type": "object", - "x-itemtype": "OperatingSystemKernel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystemKernel" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Version de noyau" - }, - "OperatingSystemServicePack": { - "x-itemtype": "OperatingSystemServicePack", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Service pack" - }, - "OperatingSystemVersion": { - "x-itemtype": "OperatingSystemVersion", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Version du syst\u00e8me d'exploitation" - }, - "PCIDevice": { - "x-itemtype": "DevicePci", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "model": { - "type": "object", - "x-itemtype": "DevicePciModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PCIModel" - } - }, - "description": "P\u00e9riph\u00e9rique PCI" - }, - "PCIDeviceItem": { - "x-itemtype": "Item_DevicePci", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "pci_device": { - "type": "object", - "x-itemtype": "DevicePci", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PCIDevice" - }, - "busID": { - "type": "string" - } - }, - "description": "P\u00e9riph\u00e9rique PCI \u00e9l\u00e9ment" - }, - "PCIModel": { - "x-itemtype": "DevicePciModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le d'autre composant" - }, - "PCIVendor": { - "type": "object", - "x-itemtype": "PCIVendor", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "vendorid": { - "type": "string" - }, - "deviceid": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Fournisseur PCI" - }, - "PDU": { - "x-itemtype": "PDU", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "model": { - "type": "object", - "x-itemtype": "PDUModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PDUModel" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "type": { - "type": "object", - "x-itemtype": "PDUType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PDUType" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - } - }, - "description": "PDU" - }, - "PDUModel": { - "x-itemtype": "PDUModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "weight": { - "type": "integer" - }, - "rack_units": { - "type": "integer" - }, - "depth": { - "type": "number", - "format": "float" - }, - "power_connections": { - "type": "integer" - }, - "max_power": { - "type": "integer" - }, - "is_half_rack": { - "type": "boolean" - }, - "is_rackable": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de PDU" - }, - "PDUType": { - "x-itemtype": "PDUType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de PDU" - }, - "PassiveDCEquipment": { - "x-itemtype": "PassiveDCEquipment", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "model": { - "type": "object", - "x-itemtype": "PassiveDCEquipmentModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PassiveDCEquipmentModel" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "type": { - "type": "object", - "x-itemtype": "PassiveDCEquipmentType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PassiveDCEquipmentType" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - } - }, - "description": "\u00c9quipement passif" - }, - "PassiveDCEquipmentModel": { - "x-itemtype": "PassiveDCEquipmentModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "weight": { - "type": "integer" - }, - "rack_units": { - "type": "integer" - }, - "depth": { - "type": "number", - "format": "float" - }, - "power_connections": { - "type": "integer" - }, - "power_consumption": { - "type": "integer" - }, - "is_half_rack": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le d'\u00e9quipement passif" - }, - "PassiveDCEquipmentType": { - "x-itemtype": "PassiveDCEquipmentType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type d'\u00e9quipement passif" - }, - "PendingReason": { - "x-itemtype": "PendingReason", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_default": { - "type": "boolean" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "followup_frequency": { - "type": "integer", - "format": "int32" - }, - "followups_before_resolution": { - "type": "integer", - "format": "int32" - }, - "followup_template": { - "type": "object", - "x-itemtype": "ITILFollowupTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "FollowupTemplate" - }, - "solution_template": { - "type": "object", - "x-itemtype": "SolutionTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SolutionTemplate" - }, - "calendar": { - "type": "object", - "x-itemtype": "Calendar", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Calendar" - }, - "comment": { - "type": "string" - } - }, - "description": "Raison d'attente" - }, - "PendingReason_Item": { - "x-itemtype": "PendingReason_Item", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "followup_frequency": { - "type": "integer", - "format": "int32" - }, - "followups_before_resolution": { - "type": "integer", - "format": "int32" - }, - "bump_count": { - "type": "integer", - "format": "int32" - }, - "last_bump_date": { - "type": "string", - "format": "date-time" - }, - "previous_status": { - "type": "integer", - "format": "int32" - } - }, - "description": "\u00c9l\u00e9ment" - }, - "Peripheral": { - "type": "object", - "x-itemtype": "Peripheral", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "PeripheralType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PeripheralType" - }, - "model": { - "type": "object", - "x-itemtype": "PeripheralModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PeripheralModel" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "brand": { - "type": "string" - }, - "is_global": { - "type": "boolean", - "default": false - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - }, - "ticket_tco": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "is_dynamic": { - "type": "boolean", - "default": false - } - }, - "description": "P\u00e9riph\u00e9rique" - }, - "PeripheralConnection": { - "x-itemtype": "Glpi\\Asset\\Asset_PeripheralAsset", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype_asset": { - "type": "string" - }, - "items_id_asset": { - "type": "integer", - "format": "int64" - }, - "itemtype_peripheral": { - "type": "string" - }, - "items_id_peripheral": { - "type": "integer", - "format": "int64" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - } - }, - "description": "Connexion" - }, - "PeripheralModel": { - "x-itemtype": "PeripheralModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string", - "maxLength": 255 - }, - "weight": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "rack_units": { - "type": "integer", - "minimum": 1, - "default": 1 - }, - "depth": { - "type": "number", - "format": "float", - "default": 1, - "enum": [ - 0.25, - 0.33, - 0.5, - 1 - ] - }, - "power_connections": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "power_consumption": { - "type": "integer", - "minimum": 0, - "default": 0 - }, - "is_half_rack": { - "type": "boolean", - "default": false - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de p\u00e9riph\u00e9rique" - }, - "PeripheralType": { - "x-itemtype": "PeripheralType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de p\u00e9riph\u00e9rique" - }, - "Phone": { - "type": "object", - "x-itemtype": "Phone", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "PhoneType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PhoneType" - }, - "model": { - "type": "object", - "x-itemtype": "PhoneModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PhoneModel" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "brand": { - "type": "string", - "maxLength": 255 - }, - "power_supply": { - "type": "object", - "x-itemtype": "PhonePowerSupply", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PhonePowerSupply" - }, - "number_line": { - "type": "string", - "maxLength": 255 - }, - "have_headset": { - "type": "boolean", - "default": false - }, - "have_hp": { - "type": "boolean", - "default": false - }, - "is_global": { - "type": "boolean", - "default": false - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string", - "maxLength": 255 - }, - "ticket_tco": { - "type": "number", - "format": "float" - }, - "is_dynamic": { - "type": "boolean", - "default": false - }, - "last_inventory_update": { - "type": "string", - "format": "date-time" - } - }, - "description": "T\u00e9l\u00e9phone" - }, - "PhoneModel": { - "x-itemtype": "PhoneModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string", - "maxLength": 255 - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de t\u00e9l\u00e9phone" - }, - "PhonePowerSupply": { - "x-itemtype": "PhonePowerSupply", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "Type d'alimentation de t\u00e9l\u00e9phone" - }, - "PhoneType": { - "x-itemtype": "PhoneType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de t\u00e9l\u00e9phone" - }, - "PlanningReminder": { - "x-itemtype": "PlanningRecall", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 255 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "before_time": { - "type": "integer", - "format": "int32" - } - }, - "description": "Rappel du planning" - }, - "Plug": { - "x-itemtype": "Plug", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "Prise" - }, - "Plugin": { - "x-itemtype": "Plugin", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "internal_name": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "version": { - "type": "string", - "readOnly": true - }, - "state": { - "type": "integer", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7 - ], - "description": " - -1: Unknown\n - 0: New (This status may not actually be used)\n - 1: Enabled\n - 2: Not installed\n - 3: Needs configured (Installed, but required configuration before it can be enabled)\n - 4: Disabled\n - 5: To clean (Uninstalled and the files are no longer present, but the metadata is still present in the database)\n - 6: Needs updated (A new version of the plugin is present and it needs have the update started)\n - 7: Replaced (The plugin has been replaced by another one)", - "readOnly": true - }, - "author": { - "type": "string", - "readOnly": true - }, - "homepage": { - "type": "string", - "readOnly": true - }, - "license": { - "type": "string", - "readOnly": true - } - }, - "description": "Plugin" - }, - "PowerSupply": { - "x-itemtype": "DevicePowerSupply", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "power": { - "type": "string" - }, - "is_atx": { - "type": "boolean" - }, - "model": { - "type": "object", - "x-itemtype": "DevicePowerSupplyModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PowerSupplyModel" - } - }, - "description": "Alimentation" - }, - "PowerSupplyItem": { - "x-itemtype": "Item_DevicePowerSupply", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "power_supply": { - "type": "object", - "x-itemtype": "DevicePowerSupply", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PowerSupply" - } - }, - "description": "Alimentation \u00e9l\u00e9ment" - }, - "PowerSupplyModel": { - "x-itemtype": "DevicePowerSupplyModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le d'alimentation" - }, - "Printer": { - "type": "object", - "x-itemtype": "Printer", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "PrinterType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PrinterType" - }, - "model": { - "type": "object", - "x-itemtype": "PrinterModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "PrinterModel" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "network": { - "type": "object", - "x-itemtype": "Network", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "has_serial": { - "type": "boolean", - "default": false - }, - "has_parallel": { - "type": "boolean", - "default": false - }, - "has_usb": { - "type": "boolean", - "default": false - }, - "has_wifi": { - "type": "boolean", - "default": false - }, - "has_ethernet": { - "type": "boolean", - "default": false - }, - "is_global": { - "type": "boolean", - "default": false - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - }, - "ticket_tco": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "is_dynamic": { - "type": "boolean", - "default": false - }, - "sysdescr": { - "type": "string" - }, - "last_inventory_update": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "snmp_credential": { - "type": "object", - "x-itemtype": "SNMPCredential", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SNMPCredential" - } - }, - "description": "Imprimante" - }, - "PrinterModel": { - "x-itemtype": "PrinterModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "picture_front": { - "type": "string", - "readOnly": true - }, - "picture_rear": { - "type": "string", - "readOnly": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string", - "readOnly": true - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le d'imprimante" - }, - "PrinterType": { - "x-itemtype": "PrinterType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type d'imprimante" - }, - "Problem": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "user_recipient": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "is_deleted": { - "type": "boolean" - }, - "category": { - "type": "object", - "x-itemtype": "ITILCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ITILCategory" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "urgency": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "impact": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "priority": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "actiontime": { - "type": "integer", - "readOnly": true - }, - "begin_waiting_date": { - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "waiting_duration": { - "type": "integer", - "readOnly": true, - "description": "Total waiting duration in seconds" - }, - "resolution_duration": { - "type": "integer", - "readOnly": true, - "description": "Total resolution duration in seconds" - }, - "close_duration": { - "type": "integer", - "readOnly": true, - "description": "Total close duration in seconds" - }, - "resolution_date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_solve": { - "type": "string", - "format": "date-time" - }, - "date_close": { - "type": "string", - "format": "date-time" - }, - "status": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "enum": [ - 1, - 7, - 2, - 3, - 4, - 5, - 8, - 6 - ], - "description": "- 1: Nouveau\n- 7: Accept\u00e9\n- 2: En cours (Attribu\u00e9)\n- 3: En cours (Planifi\u00e9)\n- 4: En attente\n- 5: R\u00e9solu\n- 8: En observation\n- 6: Clos\n", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "team": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "role": { - "type": "string" - } - }, - "x-full-schema": "TeamMember" - } - }, - "costs": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ProblemCost", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - } - }, - "x-itemtype": "Problem", - "description": "Probl\u00e8me" - }, - "ProblemCost": { - "x-itemtype": "ProblemCost", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "problem": { - "type": "object", - "x-itemtype": "Problem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Problem" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "integer", - "format": "int32" - }, - "cost_time": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "cost_fixed": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "cost_material": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "budget": { - "type": "object", - "x-itemtype": "Budget", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Budget" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - } - }, - "description": "Co\u00fbt" - }, - "ProblemTask": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "format": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "is_private": { - "type": "boolean" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "integer" - }, - "planned_begin": { - "type": "string", - "format": "date-time" - }, - "planned_end": { - "type": "string", - "format": "date-time" - }, - "state": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": "The state of the task.\n- 0: Information\n- 1: To do\n- 2: Done" - }, - "category": { - "type": "object", - "x-itemtype": "TaskCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TaskCategory" - }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" - }, - "problems_id": { - "type": "integer", - "format": "int64" - } - }, - "x-itemtype": "ProblemTask", - "description": "T\u00e2che de probl\u00e8me" - }, - "ProblemTemplate": { - "x-itemtype": "ProblemTemplate", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - } - }, - "description": "Gabarit de probl\u00e8me" - }, - "Problem_Item": { - "x-itemtype": "Item_Problem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "problem": { - "type": "object", - "x-itemtype": "Problem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Problem" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "\u00c9l\u00e9ment associ\u00e9 au probl\u00e8me" - }, - "Problem_Problem": { - "x-itemtype": "Problem_Problem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "problem_1": { - "type": "object", - "x-itemtype": "Problem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Problem" - }, - "problem_2": { - "type": "object", - "x-itemtype": "Problem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Problem" - }, - "link": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": " The type of link between the two problems.\n - 1: Linked to\n - 2: Duplicate of\n - 3: Child of\n - 4: Parent of" - } - }, - "description": "Lien Probl\u00e8me\/Probl\u00e8me" - }, - "Problem_Ticket": { - "x-itemtype": "Problem_Ticket", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "problem": { - "type": "object", - "x-itemtype": "Problem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Problem" - }, - "ticket": { - "type": "object", - "x-itemtype": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Ticket" - }, - "link": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": " The type of link between the change and the ticket.\n - 1: Linked to\n - 2: Duplicate of\n - 3: Child of\n - 4: Parent of" - } - }, - "description": "Lien Ticket\/Probl\u00e8me" - }, - "Processor": { - "x-itemtype": "DeviceProcessor", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "frequency": { - "type": "string" - }, - "frequency_default": { - "type": "string" - }, - "nbcores_default": { - "type": "integer", - "format": "int32" - }, - "nbthreads_default": { - "type": "integer", - "format": "int32" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceProcessorModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProcessorModel" - } - }, - "description": "Processeur" - }, - "ProcessorItem": { - "x-itemtype": "Item_DeviceProcessor", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "processor": { - "type": "object", - "x-itemtype": "DeviceProcessor", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Processor" - }, - "busID": { - "type": "string" - }, - "frequency": { - "type": "string" - }, - "nbcores": { - "type": "integer", - "format": "int32" - }, - "nbthreads": { - "type": "integer", - "format": "int32" - } - }, - "description": "Processeur \u00e9l\u00e9ment" - }, - "ProcessorModel": { - "x-itemtype": "DeviceProcessorModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de processeur" - }, - "Profile": { - "x-itemtype": "Profile", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Name" - }, - "comment": { - "type": "string", - "description": "Comment" - }, - "is_default": { - "type": "boolean" - }, - "helpdesk_hardware": { - "type": "integer", - "enum": [ - 0, - 1, - 2, - 3 - ], - "description": " Indicates the level of rights the user has regarding associating assets with assistance items (like tickets). Possible values:\n - 0: Cannot associate any assets with assistance items\n - 1: Can link their own assets with assistance items\n - 2: Can link any assets with assistance items\n - 3: Same as 2 but may see both \"My devices\" and \"All items\" in the web interface when associating assets with assistance items\n See 'helpdesk_item_type' for which item types can be associated when helpdesk_hardware is greater than 0." - }, - "helpdesk_item_type": { - "type": "string", - "description": "If helpdesk_hardware is greater than 0, this is a JSON-encoded string which indicates the item types that the user can associate with assistance items." - }, - "managed_domainrecordtypes": { - "type": "string", - "description": "A JSON-encoded string which indicates the IDs of domain record types that the user can manage. An array element with a value of -1 indicates that the user can manage all domain record types." - }, - "mfa_enforced": { - "type": "boolean", - "description": "Is two-factor authentication enforced for this profile" - } - }, - "description": "Profil" - }, - "Project": { - "x-itemtype": "Project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html" - }, - "code": { - "type": "string" - }, - "priority": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5, - 6 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High\n- 6: Major" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "tasks": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ProjectTask", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "content": { - "type": "string" - } - } - } - }, - "costs": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ProjectCost", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - }, - "status": { - "type": "object", - "x-itemtype": "ProjectState", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProjectState" - }, - "is_recursive": { - "type": "boolean" - }, - "parent": { - "type": "object", - "x-itemtype": "Project", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Project" - }, - "type": { - "type": "object", - "x-itemtype": "ProjectType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProjectType" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "plan_start_date": { - "type": "string", - "format": "date-time" - }, - "plan_end_date": { - "type": "string", - "format": "date-time" - }, - "real_start_date": { - "type": "string", - "format": "date-time" - }, - "real_end_date": { - "type": "string", - "format": "date-time" - }, - "percent_done": { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - "auto_percent_done": { - "type": "boolean" - }, - "show_on_global_gantt": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean" - }, - "template_name": { - "type": "string" - }, - "is_template": { - "type": "boolean" - }, - "tickets": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - }, - "changes": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Change", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - }, - "problems": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Problem", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - }, - "team": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ProjectTeamMember", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "enum": [ - "User", - "Group", - "Supplier", - "Contact" - ], - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - } - }, - "description": "Projet" - }, - "ProjectCost": { - "x-itemtype": "ProjectCost", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "project": { - "type": "object", - "x-itemtype": "Project", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Project" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "cost": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "budget": { - "type": "object", - "x-itemtype": "Budget", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Budget" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - } - }, - "description": "Co\u00fbt" - }, - "ProjectState": { - "x-itemtype": "ProjectState", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "color": { - "type": "string", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "is_finished": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Statut de projet" - }, - "ProjectTask": { - "x-itemtype": "ProjectTask", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html" - }, - "project": { - "type": "object", - "x-itemtype": "Project", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Project" - }, - "parent_task": { - "type": "object", - "x-itemtype": "ProjectTask", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProjectTask" - }, - "status": { - "type": "object", - "x-itemtype": "ProjectState", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProjectState" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_deleted": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "plan_start_date": { - "type": "string", - "format": "date-time" - }, - "plan_end_date": { - "type": "string", - "format": "date-time" - }, - "real_start_date": { - "type": "string", - "format": "date-time" - }, - "real_end_date": { - "type": "string", - "format": "date-time" - }, - "planned_duration": { - "type": "integer", - "format": "int64", - "description": "Planned duration in seconds" - }, - "real_duration": { - "type": "integer", - "format": "int64", - "description": "Real duration in seconds" - }, - "auto_status": { - "type": "boolean", - "default": false, - "description": "If true, the status of the task will be automatically updated based on the percent done and the global configuration for project task states" - }, - "type": { - "type": "object", - "x-itemtype": "ProjectTaskType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProjectTaskType" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "percent_done": { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - "auto_percent_done": { - "type": "boolean", - "default": false - }, - "is_milestone": { - "type": "boolean", - "default": false - }, - "team": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "ProjectTaskTeamMember", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "enum": [ - "User", - "Group", - "Supplier", - "Contact" - ], - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - } - }, - "description": "T\u00e2che de projet" - }, - "ProjectTaskTeamMember": { - "x-itemtype": "ProjectTaskTeam", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "task": { - "type": "object", - "x-itemtype": "ProjectTask", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ProjectTask" - }, - "itemtype": { - "type": "string", - "enum": [ - "User", - "Group", - "Supplier", - "Contact" - ] - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "\u00c9quipe de t\u00e2che", - "required": [ - "task", - "itemtype", - "items_id" - ] - }, - "ProjectTaskType": { - "x-itemtype": "ProjectTaskType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de t\u00e2che de projet" - }, - "ProjectTeamMember": { - "x-itemtype": "ProjectTeam", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "project": { - "type": "object", - "x-itemtype": "Project", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Project" - }, - "itemtype": { - "type": "string", - "enum": [ - "User", - "Group", - "Supplier", - "Contact" - ] - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "\u00c9quipe projet", - "required": [ - "project", - "itemtype", - "items_id" - ] - }, - "ProjectType": { - "x-itemtype": "ProjectType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de projet" - }, - "QueuedNotification": { - "x-itemtype": "QueuedNotification", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "notification_template": { - "type": "object", - "x-itemtype": "NotificationTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NotificationTemplate" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_deleted": { - "type": "boolean", - "default": false - }, - "sent_try": { - "type": "integer", - "default": 0, - "description": "The number of times sending this notification has been attempted." - }, - "create_time": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The time when the notification was created and queued for sending." - }, - "expected_send_date": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The time when the notification is expected to be sent. This may be in the past for notifications that have already been sent, or in the future for notifications that are scheduled to be (re-)sent later." - }, - "send_date": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The time when the notification was actually sent." - }, - "name": { - "type": "string" - }, - "sender": { - "type": "string" - }, - "sender_name": { - "type": "string" - }, - "recipient": { - "type": "string" - }, - "recipient_name": { - "type": "string" - }, - "replyto": { - "type": "string" - }, - "replyto_name": { - "type": "string" - }, - "headers": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "body_html": { - "type": "string", - "format": "html" - }, - "message_id": { - "type": "string" - }, - "documents": { - "type": "string" - }, - "mode": { - "type": "string", - "description": " The mode of the notification template for the notification.\n Typically only \"mailing\" or \"ajax\", but there are a few other types known to GLPI but not directly used, or which may be added by plugins.\n - mailing: Email notification\n - ajax: Browser notification (client-initiated pull notifications, not real-time push notifications)\n - websocket: Not used by GLPI core\n - sms: Not used by GLPI core\n - xmpp: Not used by GLPI core\n - irc: Not used by GLPI core", - "maxLength": 20, - "enum": [ - "mailing", - "ajax", - "websocket", - "sms", - "xmpp", - "irc" - ] - }, - "event": { - "type": "string", - "maxLength": 255 - }, - "attach_documents": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": "The way documents are attached to the notification. Possible values are:\n- 0 :No document\n- 1: All documents\n- 2: Only documents related to the item that triggers the event" - }, - "itemtype_trigger": { - "type": "string", - "maxLength": 255 - }, - "items_id_trigger": { - "type": "integer", - "format": "int64" - } - }, - "description": "File d'attente des notifications" - }, - "QueuedWebhook": { - "x-itemtype": "QueuedWebhook", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 255, - "readOnly": true - }, - "items_id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_deleted": { - "type": "boolean" - }, - "sent_try": { - "type": "integer", - "description": "The number of times this webhook has been tried to be sent.", - "readOnly": true - }, - "webhook": { - "type": "object", - "x-itemtype": "Webhook", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Webhook", - "readOnly": true - }, - "url": { - "type": "string", - "description": "The resolved URL the webhook will be sent to.", - "maxLength": 255, - "readOnly": true - }, - "create_time": { - "type": "string", - "format": "date-time", - "description": "The date and time when the webhook was queued.", - "readOnly": true - }, - "send_time": { - "type": "string", - "format": "date-time", - "description": "The date and time when the webhook is expected to be sent.", - "readOnly": true - }, - "sent_time": { - "type": "string", - "format": "date-time", - "description": "The last date and time when the webhook was tried to be sent.", - "readOnly": true - }, - "headers": { - "type": "string", - "description": "JSON encoded object containing the resolved headers that will be sent with the webhook request.", - "readOnly": true - }, - "body": { - "type": "string", - "description": "The resolved body that will be sent with the webhook request.", - "readOnly": true - }, - "event": { - "type": "string", - "description": "The event that triggered the webhook.", - "readOnly": true - }, - "last_status_code": { - "type": "integer", - "description": "The last HTTP status code received when trying to send the webhook.", - "readOnly": true - }, - "http_method": { - "type": "string", - "description": "The HTTP method used to send the webhook request.", - "enum": [ - "POST", - "GET", - "PUT", - "PATCH" - ], - "readOnly": true - } - }, - "description": "File d'attente des webhooks" - }, - "RSSFeed": { - "x-itemtype": "RSSFeed", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "url": { - "type": "string" - }, - "refresh_interval": { - "type": "integer", - "description": "Refresh interval in seconds", - "min": 3600, - "max": 86400, - "multipleOf": 3600 - }, - "max_items": { - "type": "integer", - "description": "Maximum number of items to fetch" - }, - "have_error": { - "type": "boolean", - "readOnly": true, - "description": "Whether the last fetch had errors" - }, - "is_active": { - "type": "boolean" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Flux RSS personnel", - "required": [ - "url" - ] - }, - "Rack": { - "x-itemtype": "Rack", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "model": { - "type": "object", - "x-itemtype": "RackModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "RackModel" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "type": { - "type": "object", - "x-itemtype": "RackType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "RackType" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "width": { - "type": "integer", - "format": "int32" - }, - "height": { - "type": "integer", - "format": "int32" - }, - "depth": { - "type": "integer", - "format": "int32" - }, - "number_units": { - "type": "integer", - "format": "int32" - }, - "is_deleted": { - "type": "boolean" - }, - "room": { - "type": "object", - "x-itemtype": "DCRoom", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "DCRoom" - }, - "room_orientation": { - "type": "integer", - "format": "int32" - }, - "position": { - "type": "string" - }, - "bgcolor": { - "type": "string", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "max_power": { - "type": "integer", - "format": "int32" - }, - "measured_power": { - "type": "integer", - "format": "int32" - }, - "max_weight": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "description": "List of items in the rack", - "items": { - "type": "object", - "x-full-schema": "RackItem", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - } - } - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Baie" - }, - "RackItem": { - "x-itemtype": "Item_Rack", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "rack": { - "type": "object", - "x-itemtype": "Rack", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Rack" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "position": { - "type": "integer", - "format": "int32" - }, - "orientation": { - "type": "integer", - "format": "int32", - "enum": [ - 0, - 1 - ], - "description": "Orientation of the item in the rack.\n- 0: Front\n- 1: Rear" - }, - "bgcolor": { - "type": "string", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "position_horizontal": { - "type": "integer", - "format": "int32" - }, - "is_reserved": { - "type": "boolean" - } - }, - "description": "\u00c9l\u00e9ment" - }, - "RackModel": { - "x-itemtype": "RackModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de baies" - }, - "RackType": { - "x-itemtype": "RackType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de baie" - }, - "RecurringChange": { - "x-itemtype": "RecurrentChange", - "type": "object", - "description": "Recurring change", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_active": { - "type": "boolean" - }, - "template": { - "type": "object", - "x-itemtype": "ChangeTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ChangeTemplate" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "periodicity": { - "type": "integer", - "format": "int32" - }, - "create_before": { - "type": "integer", - "format": "int32" - }, - "date_next_creation": { - "type": "string", - "format": "date-time" - }, - "calendar": { - "type": "object", - "x-itemtype": "Calendar", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Calendar" - } - } - }, - "RecurringTicket": { - "x-itemtype": "TicketRecurrent", - "type": "object", - "description": "Recurring ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_active": { - "type": "boolean" - }, - "template": { - "type": "object", - "x-itemtype": "TicketTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TicketTemplate" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "periodicity": { - "type": "integer", - "format": "int32" - }, - "create_before": { - "type": "integer", - "format": "int32" - }, - "date_next_creation": { - "type": "string", - "format": "date-time" - }, - "calendar": { - "type": "object", - "x-itemtype": "Calendar", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Calendar" - }, - "ticket_per_item": { - "type": "boolean" - } - } - }, - "Reminder": { - "x-itemtype": "Reminder", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "name": { - "type": "string" - }, - "text": { - "type": "string", - "format": "html" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "is_planned": { - "type": "boolean" - }, - "state": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": "The state of the event.\n- 1: Information\n- 2: To do\n- 3: Done" - }, - "date_view_begin": { - "type": "string", - "format": "date-time" - }, - "date_view_end": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Note personnelle" - }, - "RemoteManagement": { - "x-itemtype": "Item_RemoteManagement", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "remoteid": { - "type": "string", - "maxLength": 255 - }, - "type": { - "type": "string", - "enum": [ - "teamviewer", - "litemanager", - "anydesk", - "meshcentral", - "supremo", - "rustdesk" - ] - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - } - }, - "description": "Contr\u00f4le \u00e0 distance" - }, - "RequestType": { - "x-itemtype": "RequestType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "is_helpdesk_default": { - "type": "boolean" - }, - "is_followup_default": { - "type": "boolean" - }, - "is_mail_default": { - "type": "boolean" - }, - "is_mailfollowup_default": { - "type": "boolean" - }, - "is_active": { - "type": "boolean" - }, - "is_visible_ticket": { - "type": "boolean" - }, - "is_visible_followup": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Source de la demande" - }, - "ReservableItem": { - "x-itemtype": "ReservationItem", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "description": "The itemtype of the reservable item" - }, - "items_id": { - "type": "integer", - "format": "int64", - "description": "The ID of the reservable item" - }, - "comment": { - "type": "string", - "format": "html" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "is_active": { - "type": "boolean", - "description": "Whether the item is currently active for reservations" - } - }, - "description": "\u00c9l\u00e9ment r\u00e9servable" - }, - "Reservation": { - "x-itemtype": "Reservation", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "reservable_item": { - "type": "object", - "x-itemtype": "ReservationItem", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "description": "The itemtype of the reservable item" - }, - "items_id": { - "type": "integer", - "format": "int64", - "description": "The ID of the reservable item" - } - } - }, - "comment": { - "type": "string" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "integer", - "format": "int64", - "description": "A random number used to identify reservations that are part of the same series (recurring reservations)" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - } - }, - "description": "R\u00e9servation" - }, - "Rule": { - "type": "object", - "x-itemtype": "Rule", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "sub_type": { - "type": "string", - "writeOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "is_active": { - "type": "boolean" - }, - "match": { - "description": "Logical operator to use when matching rule criteria", - "type": "string", - "enum": [ - "AND", - "OR" - ] - }, - "condition": { - "description": "The condition that triggers evaluation of this rule. Typically, 1 is for \"On Add\" and 2 is for \"On Update\".", - "type": "integer" - }, - "ranking": { - "description": "The order in which to evaluate this rule. Lower numbers are evaluated first. Changing the ranking of a rule may shift the rankings of other rules.", - "type": "integer", - "format": "int32" - }, - "criteria": { - "type": "array", - "readOnly": true, - "items": { - "type": "object", - "x-full-schema": "RuleCriteria", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "criteria": { - "type": "string", - "description": "The criteria to use. See \/Rule\/Collection\/{collection}\/CriteriaCriteria for a complete list of criteria." - }, - "condition": { - "type": "integer", - "description": "The condition to use. See \/Rule\/Collection\/{collection}\/CriteriaCondition for a complete list of conditions." - }, - "pattern": { - "type": "string", - "description": "The value\/pattern to match against. If the condition relates to regular expressions, this value needs to be a valid regular expression including the delimiters." - } - } - } - }, - "actions": { - "type": "array", - "readOnly": true, - "items": { - "type": "object", - "x-full-schema": "RuleAction", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "action_type": { - "type": "string", - "description": "The action to perform. See \/Rule\/Collection\/{collection}\/ActionType for a complete list of actions." - }, - "field": { - "type": "string", - "description": "The field to modify. See \/Rule\/Collection\/{collection}\/ActionField for a complete list of fields." - }, - "value": { - "type": "string", - "description": "The value to set. If the field relates to regular expressions, this can include a # followed by 0 through 9 to indicate a captured value from the criteria regular expression." - } - } - } - }, - "date_creation": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "date_mod": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "R\u00e8gle" - }, - "RuleAction": { - "type": "object", - "x-itemtype": "RuleAction", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "rule": { - "type": "object", - "x-itemtype": "Rule", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Rule", - "writeOnly": true - }, - "action_type": { - "type": "string", - "description": "The action to perform. See \/Rule\/Collection\/{collection}\/ActionType for a complete list of actions." - }, - "field": { - "type": "string", - "description": "The field to modify. See \/Rule\/Collection\/{collection}\/ActionField for a complete list of fields." - }, - "value": { - "type": "string", - "description": "The value to set. If the field relates to regular expressions, this can include a # followed by 0 through 9 to indicate a captured value from the criteria regular expression." - } - }, - "description": "Action" - }, - "RuleActionField": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string" - }, - "action_types": { - "type": "array", - "description": "Action types that can be used with this field. See \/Rule\/Collection\/{collection}\/ActionType for a complete list of action types.", - "items": { - "type": "string" - } - } - } - }, - "RuleActionType": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string" - }, - "fields": { - "type": "array", - "description": "Fields\/actions that can be used with this action. See \/Rule\/Collection\/{collection}\/ActionField for a complete list of fields\/actions.", - "items": { - "type": "string" - } - } - } - }, - "RuleCriteria": { - "type": "object", - "x-itemtype": "RuleCriteria", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "rule": { - "type": "object", - "x-itemtype": "Rule", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Rule", - "writeOnly": true - }, - "criteria": { - "type": "string", - "description": "The criteria to use. See \/Rule\/Collection\/{collection}\/CriteriaCriteria for a complete list of criteria." - }, - "condition": { - "type": "integer", - "description": "The condition to use. See \/Rule\/Collection\/{collection}\/CriteriaCondition for a complete list of conditions." - }, - "pattern": { - "type": "string", - "description": "The value\/pattern to match against. If the condition relates to regular expressions, this value needs to be a valid regular expression including the delimiters." - } - }, - "description": "Crit\u00e8re" - }, - "RuleCriteriaCondition": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "description": { - "type": "string" - }, - "fields": { - "type": "array", - "description": "Fields\/criteria that can be used with this condition. See \/Rule\/Collection\/{collection}\/CriteriaCriteria for a complete list of fields\/criteria.", - "items": { - "type": "string" - } - } - } - }, - "RuleCriteriaCriteria": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string" - } - } - }, - "SIMCard": { - "x-itemtype": "DeviceSimcard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "voltage": { - "type": "integer", - "format": "int32" - }, - "allow_voip": { - "type": "boolean" - }, - "type": { - "type": "object", - "x-itemtype": "DeviceSimcardType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SIMCardType" - } - }, - "description": "Carte SIM" - }, - "SIMCardItem": { - "x-itemtype": "Item_DeviceSimcard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "sim_card": { - "type": "object", - "x-itemtype": "DeviceSimcard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SIMCard" - }, - "pin": { - "type": "string" - }, - "pin2": { - "type": "string" - }, - "puk": { - "type": "string" - }, - "puk2": { - "type": "string" - }, - "msin": { - "type": "string" - }, - "line": { - "type": "object", - "x-itemtype": "Line", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Line" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - } - }, - "description": "Carte SIM \u00e9l\u00e9ment" - }, - "SIMCardType": { - "x-itemtype": "DeviceSimcardType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de carte SIM" - }, - "SLA": { - "x-itemtype": "SLA", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "slm": { - "type": "object", - "x-itemtype": "SLM", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SLM" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "type": { - "type": "integer", - "enum": [ - 0, - 1 - ], - "description": " - 0: Time to resolve (TTR)\n - 1: Time to own (TTO)" - }, - "comment": { - "type": "string" - }, - "time": { - "type": "integer", - "description": "Time in the unit defined by the time_unit property" - }, - "time_unit": { - "type": "string", - "enum": [ - "minute", - "hour", - "day", - "month" - ], - "description": "Unit of time for the time property" - }, - "use_ticket_calendar": { - "type": "boolean" - }, - "calendar": { - "type": "object", - "x-itemtype": "Calendar", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Calendar" - }, - "end_of_working_day": { - "type": "boolean", - "description": "Whether the time computation will target the end of the working day" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "SLAs" - }, - "SLALevel": { - "x-itemtype": "SlaLevel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "pattern": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "name": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "execution_time": { - "type": "integer" - }, - "operator": { - "type": "string", - "enum": [ - "AND", - "OR" - ] - }, - "sla": { - "type": "object", - "x-itemtype": "SLA", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SLA" - } - }, - "description": "Niveau d'escalade" - }, - "SLM": { - "x-itemtype": "SLM", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "comment": { - "type": "string" - }, - "use_ticket_calendar": { - "type": "boolean" - }, - "calendar": { - "type": "object", - "x-itemtype": "Calendar", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Calendar" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Niveau de services" - }, - "SNMPCredential": { - "x-itemtype": "SNMPCredential", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "snmp_version": { - "type": "string", - "enum": [ - "1", - "2c", - "3" - ] - }, - "community": { - "type": "string", - "maxLength": 255 - }, - "username": { - "type": "string", - "maxLength": 255 - }, - "authentication": { - "type": "string", - "enum": [ - 1, - 2, - 3, - 4, - 5, - 6 - ], - "description": " - 1: MD5\n - 2: SHA\n - 3: SHA224\n - 4: SHA256\n - 5: SHA384\n - 6: SHA512" - }, - "auth_passphrase": { - "type": "string", - "maxLength": 255, - "writeOnly": true - }, - "encryption": { - "type": "string", - "enum": [ - 1, - 2, - 3, - 4, - 5, - 6, - 7 - ], - "description": " - 1: DES\n - 2: AES\n - 3: 3DES\n - 4: AES192C\n - 5: AES256C\n - 6: CFB192-AES\n - 7: CFB256-AES" - }, - "priv_passphrase": { - "type": "string", - "maxLength": 255, - "writeOnly": true - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Identifiant SNMP", - "required": [ - "snmp_version" - ] - }, - "Sensor": { - "x-itemtype": "DeviceSensor", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "DeviceSensorType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SensorType" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceSensorModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SensorModel" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - } - }, - "description": "Capteur" - }, - "SensorItem": { - "x-itemtype": "Item_DeviceSensor", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "sensor": { - "type": "object", - "x-itemtype": "DeviceSensor", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Sensor" - } - }, - "description": "Capteur \u00e9l\u00e9ment" - }, - "SensorModel": { - "x-itemtype": "DeviceSensorModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de capteur" - }, - "SensorType": { - "x-itemtype": "DeviceSensorType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - } - }, - "description": "Type de capteurs" - }, - "Session": { - "type": "object", - "properties": { - "current_time": { - "type": "string", - "format": "date-time" - }, - "user_id": { - "type": "integer" - }, - "use_mode": { - "type": "integer" - }, - "friendly_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "real_name": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "default_entity": { - "type": "integer" - }, - "profiles": { - "type": "array", - "items": { - "type": "integer" - } - }, - "active_entities": { - "type": "array", - "items": { - "type": "integer" - } - }, - "active_profile": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "name": { - "type": "string" - }, - "interface": { - "type": "string" - }, - "rights": { - "type": "object", - "description": "Rights associated with the active profile. Each right value is an integer with the individual bitwise flags combined by OR depending on the specific right.", - "properties": { - "agent": { - "type": "integer", - "description": "Agents rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 16: Purger", - "enum": [ - 1, - 2, - 16 - ], - "x-label": "Agents", - "x-right-scope": "global" - }, - "appliance": { - "type": "integer", - "description": "Applicatifs rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Applicatifs", - "x-right-scope": "entity" - }, - "asset_baiesdestockage": { - "type": "integer" - }, - "asset_enclosures": { - "type": "integer", - "description": "Ch\u00e2ssis rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Ch\u00e2ssis", - "x-right-scope": "entity" - }, - "asset_eseriese2800": { - "type": "integer" - }, - "asset_fas8200": { - "type": "integer" - }, - "asset_fiberchannelswitches": { - "type": "integer" - }, - "asset_fs5020": { - "type": "integer" - }, - "asset_networkswitches": { - "type": "integer" - }, - "asset_pdus": { - "type": "integer", - "description": "PDUs rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 256, - 512, - 1024, - 2048 - ], - "x-label": "PDUs", - "x-right-scope": "entity" - }, - "asset_robotique": { - "type": "integer" - }, - "asset_robotiques": { - "type": "integer" - }, - "asset_server": { - "type": "integer" - }, - "asset_servers": { - "type": "integer", - "description": "Serveurs rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Serveurs", - "x-right-scope": "entity" - }, - "asset_serveurs": { - "type": "integer" - }, - "asset_storagearrays": { - "type": "integer", - "description": "Stockage rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Stockage", - "x-right-scope": "entity" - }, - "asset_tapelibrary": { - "type": "integer" - }, - "bookmark_public": { - "type": "integer", - "description": "Recherches publiques sauvegard\u00e9es rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Recherches publiques sauvegard\u00e9es", - "x-right-scope": "entity" - }, - "branding::custompalette": { - "type": "integer" - }, - "budget": { - "type": "integer", - "description": "Budgets rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64 - ], - "x-label": "Budgets", - "x-right-scope": "entity" - }, - "cable_management": { - "type": "integer", - "description": "C\u00e2bles rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 256, - 512, - 1024, - 2048 - ], - "x-label": "C\u00e2bles", - "x-right-scope": "entity" - }, - "calendar": { - "type": "integer", - "description": "Calendriers rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Calendriers", - "x-right-scope": "entity" - }, - "cartridge": { - "type": "integer", - "description": "Cartouches rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Cartouches", - "x-right-scope": "entity" - }, - "certificate": { - "type": "integer", - "description": "Certificats rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Certificats", - "x-right-scope": "entity" - }, - "change": { - "type": "integer", - "description": "Changements rights. Possible values:\n- 1: Voir (auteur)\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 1024: Voir tous\n- 131072: R\u00e9pondre au questionnaire (mes changements)", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 1024, - 131072 - ], - "x-label": "Changements", - "x-right-scope": "entity" - }, - "changevalidation": { - "type": "integer", - "description": "Validations du changement rights. Possible values:\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: Valider", - "enum": [ - 4, - 16, - 1024 - ], - "x-label": "Validations du changement", - "x-right-scope": "entity" - }, - "cluster": { - "type": "integer", - "description": "Clusters rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Clusters", - "x-right-scope": "entity" - }, - "computer": { - "type": "integer", - "description": "Ordinateurs rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Ordinateurs", - "x-right-scope": "entity" - }, - "config": { - "type": "integer", - "description": "Configuration rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour", - "enum": [ - 1, - 2 - ], - "x-label": "Configuration", - "x-right-scope": "entity" - }, - "consumable": { - "type": "integer", - "description": "Consommables rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Consommables", - "x-right-scope": "entity" - }, - "contact_enterprise": { - "type": "integer", - "description": "Contacts \/ Fournisseurs rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64 - ], - "x-label": "Contacts \/ Fournisseurs", - "x-right-scope": "entity" - }, - "contract": { - "type": "integer", - "description": "Contrats rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64 - ], - "x-label": "Contrats", - "x-right-scope": "entity" - }, - "dashboard": { - "type": "integer", - "description": "Tous les tableaux de bord rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Tous les tableaux de bord", - "x-right-scope": "entity" - }, - "database": { - "type": "integer", - "description": "Instances de base de donn\u00e9es rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Instances de base de donn\u00e9es", - "x-right-scope": "entity" - }, - "databaseinstance": { - "type": "integer" - }, - "datacenter": { - "type": "integer", - "description": "Data centers rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 8, - 16 - ], - "x-label": "Data centers", - "x-right-scope": "entity" - }, - "defaultfilter": { - "type": "integer", - "description": "Filtres par d\u00e9faut rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Filtres par d\u00e9faut", - "x-right-scope": "entity" - }, - "device": { - "type": "integer", - "description": "Composants rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Composants", - "x-right-scope": "entity" - }, - "devicesimcard_pinpuk": { - "type": "integer", - "description": "PIN\/PUK Carte SIM rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous", - "enum": [ - 1, - 2 - ], - "x-label": "PIN\/PUK Carte SIM", - "x-right-scope": "entity" - }, - "document": { - "type": "integer", - "description": "Documents rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64 - ], - "x-label": "Documents", - "x-right-scope": "entity" - }, - "domain": { - "type": "integer", - "description": "Domaines rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Domaines", - "x-right-scope": "entity" - }, - "dropdown": { - "type": "integer", - "description": "Intitul\u00e9s globaux rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Intitul\u00e9s globaux", - "x-right-scope": "global" - }, - "dropdown_competences": { - "type": "integer" - }, - "dropdown_faseighttwozerozerocategory": { - "type": "integer" - }, - "dropdown_id_zabbix": { - "type": "integer" - }, - "entity": { - "type": "integer", - "description": "Entit\u00e9s rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 1024: Lecture param\u00e8tres\n- 2048: Mise \u00e0 jour param\u00e8tres", - "enum": [ - 1, - 2, - 4, - 16, - 32, - 64, - 1024, - 2048 - ], - "x-label": "Entit\u00e9s", - "x-right-scope": "global" - }, - "externalevent": { - "type": "integer", - "description": "\u00c9v\u00e8nements externes rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: G\u00e9rer les \u00e9v\u00e8nements d'arri\u00e8re plan", - "enum": [ - 1, - 2, - 4, - 16, - 1024 - ], - "x-label": "\u00c9v\u00e8nements externes", - "x-right-scope": "entity" - }, - "followup": { - "type": "integer", - "description": "Suivis rights. Possible values:\n- 1: Voir les publics\n- 2: Mettre \u00e0 jour (auteur)\n- 4: Ajouter (demandeur)\n- 16: Purger\n- 1024: \u00c9diter tous\n- 2048: Ajouter suivi (groupes associ\u00e9s)\n- 4096: Ajouter \u00e0 tous les \u00e9l\u00e9ments\n- 8192: Voir les priv\u00e9s\n- 16384: Ajouter (observateur)\n- 32768: Ajouter (technicien)\n- 65536: Voir les tickets priv\u00e9s de mes groupes", - "enum": [ - 1, - 2, - 4, - 16, - 1024, - 2048, - 4096, - 8192, - 16384, - 32768, - 65536 - ], - "x-label": "Suivis", - "x-right-scope": "entity" - }, - "form": { - "type": "integer", - "description": "Formulaires rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 8, - 16 - ], - "x-label": "Formulaires", - "x-right-scope": "entity" - }, - "global_validation": { - "type": "integer" - }, - "group": { - "type": "integer", - "description": "Groupes rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes", - "enum": [ - 1, - 2, - 4, - 16, - 32, - 64 - ], - "x-label": "Groupes", - "x-right-scope": "global" - }, - "infocom": { - "type": "integer", - "description": "Informations financi\u00e8res et administratives rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Informations financi\u00e8res et administratives", - "x-right-scope": "entity" - }, - "internet": { - "type": "integer", - "description": "Internet rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 8, - 16 - ], - "x-label": "Internet", - "x-right-scope": "entity" - }, - "inventory": { - "type": "integer", - "description": "Inventaire rights. Possible values:\n- 1: Lecture\n- 1024: Importer\n- 2048: Configurer", - "enum": [ - 1, - 1024, - 2048 - ], - "x-label": "Inventaire", - "x-right-scope": "global" - }, - "itilcategory": { - "type": "integer", - "description": "Cat\u00e9gories ITIL rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Cat\u00e9gories ITIL", - "x-right-scope": "entity" - }, - "itilfollowuptemplate": { - "type": "integer", - "description": "Gabarits de suivis rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Gabarits de suivis", - "x-right-scope": "entity" - }, - "itiltemplate": { - "type": "integer", - "description": "Gabarits rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Gabarits", - "x-right-scope": "entity" - }, - "itilvalidationtemplate": { - "type": "integer", - "description": "Gabarits de validation rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Gabarits de validation", - "x-right-scope": "entity" - }, - "knowbase": { - "type": "integer", - "description": "Base de connaissances rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: Administration de la base de connaissance\n- 2048: Lire la FAQ\n- 4096: Publier dans la FAQ\n- 8192: Commenter les entr\u00e9es de la base de connaissances", - "enum": [ - 1, - 2, - 4, - 16, - 1024, - 2048, - 4096, - 8192 - ], - "x-label": "Base de connaissances", - "x-right-scope": "entity" - }, - "knowbasecategory": { - "type": "integer", - "description": "Cat\u00e9gories de la base de connaissances rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Cat\u00e9gories de la base de connaissances", - "x-right-scope": "entity" - }, - "license": { - "type": "integer", - "description": "Licences rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Licences", - "x-right-scope": "entity" - }, - "line": { - "type": "integer", - "description": "Lignes t\u00e9l\u00e9phoniques rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Lignes t\u00e9l\u00e9phoniques", - "x-right-scope": "entity" - }, - "lineoperator": { - "type": "integer", - "description": "Op\u00e9rateurs t\u00e9l\u00e9phoniques rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Op\u00e9rateurs t\u00e9l\u00e9phoniques", - "x-right-scope": "entity" - }, - "link": { - "type": "integer", - "description": "Liens externes rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Liens externes", - "x-right-scope": "entity" - }, - "location": { - "type": "integer", - "description": "Lieux rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Lieux", - "x-right-scope": "entity" - }, - "locked_field": { - "type": "integer", - "description": "Champs verrouill\u00e9s rights. Possible values:\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er ", - "enum": [ - 2, - 4 - ], - "x-label": "Champs verrouill\u00e9s", - "x-right-scope": "global" - }, - "logs": { - "type": "integer", - "description": "Historique rights. Possible values:\n- 1: Lecture", - "enum": [ - 1 - ], - "x-label": "Historique", - "x-right-scope": "global" - }, - "monitor": { - "type": "integer", - "description": "Moniteurs rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Moniteurs", - "x-right-scope": "entity" - }, - "networking": { - "type": "integer", - "description": "Mat\u00e9riels r\u00e9seau rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Mat\u00e9riels r\u00e9seau", - "x-right-scope": "entity" - }, - "notification": { - "type": "integer", - "description": "Notifications rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Notifications", - "x-right-scope": "entity" - }, - "oauth_client": { - "type": "integer", - "description": "Clients OAuth rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Clients OAuth", - "x-right-scope": "entity" - }, - "password_update": { - "type": "integer" - }, - "pendingreason": { - "type": "integer", - "description": "Raisons d'attentes rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Raisons d'attentes", - "x-right-scope": "entity" - }, - "peripheral": { - "type": "integer", - "description": "P\u00e9riph\u00e9riques rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "P\u00e9riph\u00e9riques", - "x-right-scope": "entity" - }, - "personalization": { - "type": "integer", - "description": "Personnalisation rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour", - "enum": [ - 1, - 2 - ], - "x-label": "Personnalisation", - "x-right-scope": "entity" - }, - "phone": { - "type": "integer", - "description": "T\u00e9l\u00e9phones rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "T\u00e9l\u00e9phones", - "x-right-scope": "entity" - }, - "planning": { - "type": "integer", - "description": "Planning rights. Possible values:\n- 1: Voir le planning personnel\n- 1024: Voir les planning des personnes de mes groupes\n- 2048: Voir tous les plannings", - "enum": [ - 1, - 1024, - 2048 - ], - "x-label": "Planning", - "x-right-scope": "entity" - }, - "plugin_datainjection_model": { - "type": "integer" - }, - "plugin_datainjection_use": { - "type": "integer" - }, - "plugin_fusioninventory_agent": { - "type": "integer" - }, - "plugin_fusioninventory_blacklist": { - "type": "integer" - }, - "plugin_fusioninventory_collect": { - "type": "integer" - }, - "plugin_fusioninventory_configsecurity": { - "type": "integer" - }, - "plugin_fusioninventory_configuration": { - "type": "integer" - }, - "plugin_fusioninventory_credential": { - "type": "integer" - }, - "plugin_fusioninventory_credentialip": { - "type": "integer" - }, - "plugin_fusioninventory_deploymirror": { - "type": "integer" - }, - "plugin_fusioninventory_esx": { - "type": "integer" - }, - "plugin_fusioninventory_group": { - "type": "integer" - }, - "plugin_fusioninventory_ignoredimportdevice": { - "type": "integer" - }, - "plugin_fusioninventory_importxml": { - "type": "integer" - }, - "plugin_fusioninventory_iprange": { - "type": "integer" - }, - "plugin_fusioninventory_lock": { - "type": "integer" - }, - "plugin_fusioninventory_menu": { - "type": "integer" - }, - "plugin_fusioninventory_networkequipment": { - "type": "integer" - }, - "plugin_fusioninventory_package": { - "type": "integer" - }, - "plugin_fusioninventory_printer": { - "type": "integer" - }, - "plugin_fusioninventory_remotecontrol": { - "type": "integer" - }, - "plugin_fusioninventory_reportnetworkequipment": { - "type": "integer" - }, - "plugin_fusioninventory_reportprinter": { - "type": "integer" - }, - "plugin_fusioninventory_rulecollect": { - "type": "integer" - }, - "plugin_fusioninventory_ruleentity": { - "type": "integer" - }, - "plugin_fusioninventory_ruleimport": { - "type": "integer" - }, - "plugin_fusioninventory_rulelocation": { - "type": "integer" - }, - "plugin_fusioninventory_selfpackage": { - "type": "integer" - }, - "plugin_fusioninventory_task": { - "type": "integer" - }, - "plugin_fusioninventory_unmanaged": { - "type": "integer" - }, - "plugin_fusioninventory_userinteractiontemplate": { - "type": "integer" - }, - "plugin_fusioninventory_wol": { - "type": "integer" - }, - "plugin_genericobject_eseriesetwoeightzerozeros": { - "type": "integer" - }, - "plugin_genericobject_faseighttwozerozeros": { - "type": "integer" - }, - "plugin_genericobject_fsfivezerotwozeros": { - "type": "integer" - }, - "plugin_genericobject_types": { - "type": "integer" - }, - "plugin_moreticket": { - "type": "integer" - }, - "plugin_moreticket_hide_task_duration": { - "type": "integer" - }, - "plugin_moreticket_justification": { - "type": "integer" - }, - "plugin_mydashboard": { - "type": "integer" - }, - "plugin_mydashboard_config": { - "type": "integer" - }, - "plugin_mydashboard_edit": { - "type": "integer" - }, - "plugin_mydashboard_groupprofile": { - "type": "integer" - }, - "plugin_racks": { - "type": "integer" - }, - "plugin_racks_model": { - "type": "integer" - }, - "plugin_racks_open_ticket": { - "type": "integer" - }, - "plugin_vip": { - "type": "integer" - }, - "plugin_webhook": { - "type": "integer" - }, - "plugin_webhook_configuration": { - "type": "integer" - }, - "plugin_webhook_open_ticket": { - "type": "integer" - }, - "plugin:glpiai:ticket_summary": { - "type": "integer" - }, - "printer": { - "type": "integer", - "description": "Imprimantes rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Imprimantes", - "x-right-scope": "entity" - }, - "problem": { - "type": "integer", - "description": "Probl\u00e8mes rights. Possible values:\n- 1: Voir (auteur)\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 1024: Voir tous", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 1024 - ], - "x-label": "Probl\u00e8mes", - "x-right-scope": "entity" - }, - "profile": { - "type": "integer", - "description": "Profils rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Profils", - "x-right-scope": "global" - }, - "project": { - "type": "integer", - "description": "Projets rights. Possible values:\n- 1: Voir (acteur)\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 1024: Voir tous", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 1024 - ], - "x-label": "Projets", - "x-right-scope": "entity" - }, - "projecttask": { - "type": "integer", - "description": "T\u00e2ches de projet rights. Possible values:\n- 1: Voir (acteur)\n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 1024: Mise \u00e0 jour (acteur)", - "enum": [ - 1, - 8, - 16, - 32, - 64, - 1024 - ], - "x-label": "T\u00e2ches de projet", - "x-right-scope": "entity" - }, - "queuednotification": { - "type": "integer", - "description": "File d'attente des notifications rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 8, - 16 - ], - "x-label": "File d'attente des notifications", - "x-right-scope": "global" - }, - "recurrentchange": { - "type": "integer", - "description": "Changements r\u00e9currents rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Changements r\u00e9currents", - "x-right-scope": "entity" - }, - "refusedequipment": { - "type": "integer", - "description": "Historique des \u00e9quipements refus\u00e9s rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 16: Purger", - "enum": [ - 1, - 2, - 16 - ], - "x-label": "Historique des \u00e9quipements refus\u00e9s", - "x-right-scope": "global" - }, - "reminder_public": { - "type": "integer", - "description": "Notes publiques rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 128: G\u00e9rer les \u00e9l\u00e9ments personnels", - "enum": [ - 1, - 2, - 4, - 16, - 128 - ], - "x-label": "Notes publiques", - "x-right-scope": "entity" - }, - "reports": { - "type": "integer", - "description": "Rapports rights. Possible values:\n- 1: Lecture", - "enum": [ - 1 - ], - "x-label": "Rapports", - "x-right-scope": "entity" - }, - "reservation": { - "type": "integer", - "description": "\u00c9l\u00e9ments r\u00e9servables rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: Faire une r\u00e9servation", - "enum": [ - 1, - 2, - 4, - 16, - 1024 - ], - "x-label": "\u00c9l\u00e9ments r\u00e9servables", - "x-right-scope": "entity" - }, - "rssfeed_public": { - "type": "integer", - "description": "Flux RSS publics rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 128: G\u00e9rer les \u00e9l\u00e9ments personnels", - "enum": [ - 1, - 2, - 4, - 16, - 128 - ], - "x-label": "Flux RSS publics", - "x-right-scope": "entity" - }, - "rule_asset": { - "type": "integer", - "description": "R\u00e8gles m\u00e9tier pour les actifs rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: R\u00e8gles m\u00e9tiers (parent)", - "enum": [ - 1, - 2, - 4, - 16, - 1024 - ], - "x-label": "R\u00e8gles m\u00e9tier pour les actifs", - "x-right-scope": "entity" - }, - "rule_change": { - "type": "integer", - "description": "R\u00e8gles m\u00e9tier pour les changements (entit\u00e9) rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: R\u00e8gles m\u00e9tiers (parent)", - "enum": [ - 1, - 2, - 4, - 16, - 1024 - ], - "x-label": "R\u00e8gles m\u00e9tier pour les changements (entit\u00e9)", - "x-right-scope": "entity" - }, - "rule_dictionnary_dropdown": { - "type": "integer", - "description": "Dictionnaire des intitul\u00e9s rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Dictionnaire des intitul\u00e9s", - "x-right-scope": "global" - }, - "rule_dictionnary_printer": { - "type": "integer", - "description": "Dictionnaire des imprimantes rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Dictionnaire des imprimantes", - "x-right-scope": "global" - }, - "rule_dictionnary_software": { - "type": "integer", - "description": "Dictionnaire des logiciels rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Dictionnaire des logiciels", - "x-right-scope": "global" - }, - "rule_import": { - "type": "integer", - "description": "R\u00e8gles d'affectation d'un ordinateur \u00e0 une entit\u00e9 rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "R\u00e8gles d'affectation d'un ordinateur \u00e0 une entit\u00e9", - "x-right-scope": "global" - }, - "rule_ldap": { - "type": "integer", - "description": "R\u00e8gles d'affectation d'habilitations \u00e0 un utilisateur rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "R\u00e8gles d'affectation d'habilitations \u00e0 un utilisateur", - "x-right-scope": "global" - }, - "rule_location": { - "type": "integer", - "description": "R\u00e8gles d'affectation d'un ordinateur \u00e0 un lieu rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "R\u00e8gles d'affectation d'un ordinateur \u00e0 un lieu", - "x-right-scope": "global" - }, - "rule_mailcollector": { - "type": "integer", - "description": "R\u00e8gles pour assigner un ticket cr\u00e9\u00e9 via un collecteur de mails rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "R\u00e8gles pour assigner un ticket cr\u00e9\u00e9 via un collecteur de mails", - "x-right-scope": "global" - }, - "rule_problem": { - "type": "integer", - "description": "R\u00e8gles m\u00e9tier pour les probl\u00e8mes (entit\u00e9) rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: R\u00e8gles m\u00e9tiers (parent)", - "enum": [ - 1, - 2, - 4, - 16, - 1024 - ], - "x-label": "R\u00e8gles m\u00e9tier pour les probl\u00e8mes (entit\u00e9)", - "x-right-scope": "entity" - }, - "rule_softwarecategories": { - "type": "integer", - "description": "R\u00e8gles d'affectation d'une cat\u00e9gorie \u00e0 un logiciel rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "R\u00e8gles d'affectation d'une cat\u00e9gorie \u00e0 un logiciel", - "x-right-scope": "global" - }, - "rule_ticket": { - "type": "integer", - "description": "R\u00e8gles m\u00e9tier pour les tickets (entit\u00e9) rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 1024: R\u00e8gles m\u00e9tiers (parent)", - "enum": [ - 1, - 2, - 4, - 16, - 1024 - ], - "x-label": "R\u00e8gles m\u00e9tier pour les tickets (entit\u00e9)", - "x-right-scope": "entity" - }, - "search_config": { - "type": "integer", - "description": "Colonnes par d\u00e9faut rights. Possible values:\n- 1024: Affichage utilisateur\n- 2048: Affichage par d\u00e9faut", - "enum": [ - 1024, - 2048 - ], - "x-label": "Colonnes par d\u00e9faut", - "x-right-scope": "entity" - }, - "show_group_hardware": { - "type": "integer" - }, - "slm": { - "type": "integer", - "description": "SLM rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger\n- 256: Assigner", - "enum": [ - 1, - 2, - 4, - 16, - 256 - ], - "x-label": "SLM", - "x-right-scope": "entity" - }, - "snmpcredential": { - "type": "integer", - "description": "Identifiants SNMP rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 8, - 16 - ], - "x-label": "Identifiants SNMP", - "x-right-scope": "global" - }, - "software": { - "type": "integer", - "description": "Logiciels rights. Possible values:\n- 1: Voir tous\n- 2: \u00c9diter tous\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 32: Lire les notes\n- 64: Mise \u00e0 jour des notes\n- 256: Voir les \u00e9l\u00e9ments assign\u00e9s\n- 512: Mettre \u00e0 jour les \u00e9l\u00e9ments assign\u00e9s\n- 1024: Voir mes \u00e9l\u00e9ments\n- 2048: Mettre \u00e0 jour mes \u00e9l\u00e9ments", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 32, - 64, - 256, - 512, - 1024, - 2048 - ], - "x-label": "Logiciels", - "x-right-scope": "entity" - }, - "solutiontemplate": { - "type": "integer", - "description": "Gabarits de solution rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Gabarits de solution", - "x-right-scope": "entity" - }, - "state": { - "type": "integer", - "description": "Statuts des \u00e9l\u00e9ments rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Statuts des \u00e9l\u00e9ments", - "x-right-scope": "entity" - }, - "statistic": { - "type": "integer", - "description": "Statistiques rights. Possible values:\n- 1: Lecture", - "enum": [ - 1 - ], - "x-label": "Statistiques", - "x-right-scope": "entity" - }, - "system_logs": { - "type": "integer", - "description": "Journaux syst\u00e8me rights. Possible values:\n- 1: Lecture", - "enum": [ - 1 - ], - "x-label": "Journaux syst\u00e8me", - "x-right-scope": "global" - }, - "task": { - "type": "integer", - "description": "T\u00e2ches d'un ticket rights. Possible values:\n- 1: Voir les publics\n- 2: Mettre \u00e0 jour (auteur)\n- 4: Ajouter (demandeur)\n- 16: Purger\n- 1024: \u00c9diter tous\n- 2048: Ajouter suivi (groupes associ\u00e9s)\n- 4096: Ajouter \u00e0 tous les \u00e9l\u00e9ments\n- 8192: Voir les priv\u00e9s\n- 16384: Ajouter (observateur)\n- 32768: Ajouter (technicien)\n- 65536: Voir les tickets priv\u00e9s de mes groupes", - "enum": [ - 1, - 2, - 4, - 16, - 1024, - 2048, - 4096, - 8192, - 16384, - 32768, - 65536 - ], - "x-label": "T\u00e2ches d'un ticket", - "x-right-scope": "entity" - }, - "taskcategory": { - "type": "integer", - "description": "Cat\u00e9gories de t\u00e2ches rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Cat\u00e9gories de t\u00e2ches", - "x-right-scope": "entity" - }, - "tasktemplate": { - "type": "integer", - "description": "Gabarits de t\u00e2che rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Gabarits de t\u00e2che", - "x-right-scope": "entity" - }, - "ticket": { - "type": "integer", - "description": "Tickets rights. Possible values:\n- 1: Voir mes tickets\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 1024: Voir tous les tickets\n- 2048: Voir tickets des groupes\n- 4096: Voir assign\u00e9\n- 8192: Assigner\n- 16384: Voler\n- 32768: \u00catre en charge\n- 65536: Modifier la priorit\u00e9\n- 131072: Approbation solution \/ R\u00e9ponse satisfaction (mes tickets)\n- 262144: Voir les nouveaux tickets", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 1024, - 2048, - 4096, - 8192, - 16384, - 32768, - 65536, - 131072, - 262144 - ], - "x-label": "Tickets", - "x-right-scope": "entity" - }, - "ticketcost": { - "type": "integer", - "description": "Co\u00fbts rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Co\u00fbts", - "x-right-scope": "entity" - }, - "ticketrecurrent": { - "type": "integer", - "description": "Tickets r\u00e9currents rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Tickets r\u00e9currents", - "x-right-scope": "entity" - }, - "ticketvalidation": { - "type": "integer", - "description": "Validations des tickets rights. Possible values:\n- 16: Purger\n- 1024: Cr\u00e9er pour une demande\n- 2048: Cr\u00e9er pour un incident\n- 4096: Valider une Demande\n- 8192: Valider un Incident", - "enum": [ - 16, - 1024, - 2048, - 4096, - 8192 - ], - "x-label": "Validations des tickets", - "x-right-scope": "entity" - }, - "transfer": { - "type": "integer", - "description": "Transf\u00e9rer rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Transf\u00e9rer", - "x-right-scope": "global" - }, - "typedoc": { - "type": "integer", - "description": "Types de documents rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 16: Purger", - "enum": [ - 1, - 2, - 4, - 16 - ], - "x-label": "Types de documents", - "x-right-scope": "entity" - }, - "unmanaged": { - "type": "integer", - "description": "Actifs non g\u00e9r\u00e9s rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 8: Supprimer\n- 16: Purger", - "enum": [ - 1, - 2, - 8, - 16 - ], - "x-label": "Actifs non g\u00e9r\u00e9s", - "x-right-scope": "global" - }, - "user": { - "type": "integer", - "description": "Utilisateurs rights. Possible values:\n- 1: Lecture\n- 2: Mettre \u00e0 jour\n- 4: Cr\u00e9er \n- 8: Supprimer\n- 16: Purger\n- 1024: Ajout externe\n- 2048: Lecture auth\n- 4096: Mise \u00e0 jour auth\n- 8192: Personnifier", - "enum": [ - 1, - 2, - 4, - 8, - 16, - 1024, - 2048, - 4096, - 8192 - ], - "x-label": "Utilisateurs", - "x-right-scope": "entity" - } - } - }, - "helpdesk_hardware": { - "type": "integer", - "enum": [ - 0, - 1, - 2, - 3 - ], - "description": " Indicates the level of rights the user has regarding associating assets with assistance items (like tickets). Possible values:\n - 0: Cannot associate any assets with assistance items\n - 1: Can link their own assets with assistance items\n - 2: Can link any assets with assistance items\n - 3: Same as 2 but may see both \"My devices\" and \"All items\" in the web interface when associating assets with assistance items\n See 'helpdesk_item_type' for which item types can be associated when helpdesk_hardware is greater than 0." - }, - "helpdesk_item_type": { - "type": "string", - "description": "If helpdesk_hardware is greater than 0, this is a JSON-encoded string which indicates the item types that the user can associate with assistance items." - }, - "managed_domainrecordtypes": { - "type": "string", - "description": "A JSON-encoded string which indicates the IDs of domain record types that the user can manage. An array element with a value of -1 indicates that the user can manage all domain record types." - }, - "ticket_status": { - "type": "string", - "description": "JSON encoded object which indicates the status transitions the user can perform for tickets. For example, if the user can close a ticket that is solved. The keys are the source statuses. The values are an object with the keys as the target statuses and values as booleans indicating if it is allowed." - }, - "change_status": { - "type": "string", - "description": "JSON encoded object which indicates the status transitions the user can perform for changes. For example, if the user can close a change that is resolved. The keys are the source statuses. The values are an object with the keys as the target statuses and values as booleans indicating if it is allowed." - }, - "problem_status": { - "type": "string", - "description": "JSON encoded object which indicates the status transitions the user can perform for problems. For example, if the user can close a problem that is resolved. The keys are the source statuses. The values are an object with the keys as the target statuses and values as booleans indicating if it is allowed." - } - } - }, - "active_entity": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "short_name": { - "type": "string" - }, - "complete_name": { - "type": "string" - }, - "recursive": { - "type": "integer" - } - } - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - } - } - }, - "Socket": { - "x-itemtype": "Glpi\\Socket", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "model": { - "type": "object", - "x-itemtype": "Glpi\\SocketModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SocketModel" - }, - "wiring_side": { - "type": "integer", - "format": "int32" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "network_port": { - "type": "object", - "x-itemtype": "NetworkPort", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "NetworkPort" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Connecteur" - }, - "SocketModel": { - "x-itemtype": "Glpi\\SocketModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de prise" - }, - "Software": { - "x-itemtype": "Software", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "category": { - "type": "object", - "x-itemtype": "SoftwareCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SoftwareCategory" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "parent": { - "type": "object", - "x-itemtype": "Software", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Software" - }, - "is_helpdesk_visible": { - "type": "boolean" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "is_update": { - "type": "boolean" - }, - "is_valid": { - "type": "boolean", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "is_template": { - "type": "boolean", - "default": false - }, - "template_name": { - "type": "string" - }, - "ticket_tco": { - "type": "number", - "format": "float", - "minimum": 0 - } - }, - "description": "Logiciel" - }, - "SoftwareCategory": { - "x-itemtype": "SoftwareCategory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "parent": { - "type": "object", - "x-itemtype": "SoftwareCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SoftwareCategory" - }, - "level": { - "type": "integer", - "readOnly": true - } - }, - "description": "Cat\u00e9gorie de logiciel" - }, - "SoftwareInstallation": { - "x-itemtype": "Item_SoftwareVersion", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "softwareversion": { - "type": "object", - "x-itemtype": "SoftwareVersion", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SoftwareVersion" - }, - "date_install": { - "type": "string", - "format": "date" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_dynamic": { - "type": "boolean" - } - }, - "description": "Installation" - }, - "SoftwareLicense": { - "type": "object", - "x-itemtype": "SoftwareLicense", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "type": { - "type": "object", - "x-itemtype": "SoftwareLicenseType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "LicenseType" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "completename": { - "type": "string", - "readOnly": true - }, - "level": { - "type": "integer", - "readOnly": true - } - }, - "description": "Licence" - }, - "SoftwareVersion": { - "x-itemtype": "SoftwareVersion", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "arch": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "software": { - "type": "object", - "x-itemtype": "Software", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Software" - }, - "state": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "operating_system": { - "type": "object", - "x-itemtype": "OperatingSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OperatingSystem" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Version" - }, - "Solution": { - "type": "object", - "x-itemtype": "ITILSolution", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "type": { - "type": "object", - "x-itemtype": "SolutionType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SolutionType" - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "approver": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "status": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": "The status of the solution.\n- 1: None\n- 2: Waiting\n- 3: Accepted\n- 4: Refused" - }, - "approval_followup": { - "type": "object", - "x-full-schema": "Followup", - "x-itemtype": "ITILFollowup", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date_approval": { - "type": "string", - "format": "date-time" - } - }, - "description": "Solution" - }, - "SolutionTemplate": { - "type": "object", - "x-itemtype": "SolutionTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "content": { - "type": "string", - "format": "html" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "type": { - "type": "object", - "x-itemtype": "SolutionType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SolutionType" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Gabarit de solution" - }, - "SolutionType": { - "type": "object", - "x-itemtype": "SolutionType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "is_incident": { - "type": "boolean", - "default": true - }, - "is_request": { - "type": "boolean", - "default": true - }, - "is_problem": { - "type": "boolean", - "default": true - }, - "is_change": { - "type": "boolean", - "default": true - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de solution" - }, - "SoundCard": { - "x-itemtype": "DeviceSoundCard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceSoundCardModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SoundCardModel" - } - }, - "description": "Carte son" - }, - "SoundCardItem": { - "x-itemtype": "Item_DeviceSoundCard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "sound_card": { - "type": "object", - "x-itemtype": "DeviceSoundCard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SoundCard" - }, - "busID": { - "type": "string" - } - }, - "description": "Carte son \u00e9l\u00e9ment" - }, - "SoundCardModel": { - "x-itemtype": "DeviceSoundCardModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de carte son" - }, - "StatReport": { - "type": "object", - "properties": { - "assistance_type": { - "type": "string", - "description": "The assistance type the stats are for such as \"Ticket\", \"Change\" or \"Problem\"" - }, - "report_type": { - "type": "string", - "description": "The report type" - }, - "report_title": { - "type": "string", - "description": "The report title" - }, - "report_group_fields": { - "type": "array", - "description": "The fields the report can be grouped by", - "items": { - "type": "string" - } - } - } - }, - "State": { - "type": "object", - "x-itemtype": "State", - "description": "Statut des \u00e9l\u00e9ments", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "parent": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "level": { - "type": "integer", - "readOnly": true - }, - "is_visible_helpdesk": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "visibilities": { - "type": "object", - "x-full-schema": "State_Visibilities", - "properties": { - "computer": { - "type": "boolean" - }, - "monitor": { - "type": "boolean" - }, - "networkequipment": { - "type": "boolean" - }, - "peripheral": { - "type": "boolean" - }, - "phone": { - "type": "boolean" - }, - "printer": { - "type": "boolean" - }, - "softwarelicense": { - "type": "boolean" - }, - "certificate": { - "type": "boolean" - }, - "enclosure": { - "type": "boolean" - }, - "pdu": { - "type": "boolean" - }, - "line": { - "type": "boolean" - }, - "rack": { - "type": "boolean" - }, - "softwareversion": { - "type": "boolean" - }, - "cluster": { - "type": "boolean" - }, - "contract": { - "type": "boolean" - }, - "appliance": { - "type": "boolean" - }, - "databaseinstance": { - "type": "boolean" - }, - "cable": { - "type": "boolean" - }, - "unmanaged": { - "type": "boolean" - }, - "passivedcequipment": { - "type": "boolean" - } - } - } - } - }, - "State_Visibilities": { - "type": "object", - "properties": { - "computer": { - "type": "boolean" - }, - "monitor": { - "type": "boolean" - }, - "networkequipment": { - "type": "boolean" - }, - "peripheral": { - "type": "boolean" - }, - "phone": { - "type": "boolean" - }, - "printer": { - "type": "boolean" - }, - "softwarelicense": { - "type": "boolean" - }, - "certificate": { - "type": "boolean" - }, - "enclosure": { - "type": "boolean" - }, - "pdu": { - "type": "boolean" - }, - "line": { - "type": "boolean" - }, - "rack": { - "type": "boolean" - }, - "softwareversion": { - "type": "boolean" - }, - "cluster": { - "type": "boolean" - }, - "contract": { - "type": "boolean" - }, - "appliance": { - "type": "boolean" - }, - "databaseinstance": { - "type": "boolean" - }, - "cable": { - "type": "boolean" - }, - "unmanaged": { - "type": "boolean" - }, - "passivedcequipment": { - "type": "boolean" - } - } - }, - "Stencil": { - "x-itemtype": "Stencil", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "number_zones": { - "type": "integer", - "minimum": 1, - "maximum": 256, - "default": 1 - }, - "zones": { - "type": "string", - "description": " JSON encoded object of zone definitions. Each zone definition is an object with at least the following properties:\n - \"number\": The zone number\n - \"label\": The zone label\n - \"side\": 0 - Front, 1 - Back\n - \"selection\": The zone selection object, which contains:\n - \"x\": The x coordinate of the selection\n - \"y\": The y coordinate of the selection\n - \"width\": The width of the selection\n - \"height\": The height of the selection\n - \"image\": The JS canvas context 2D transform data (DOMMatrix) to apply to the zone\n - \"x_percent\": The x coordinate of the zone in percentage of the total width\n - \"y_percent\": The y coordinate of the zone in percentage of the total height\n - \"width_percent\": The width of the zone in percentage of the total width\n - \"height_percent\": The height of the zone in percentage of the total height" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Zone graphique", - "required": [ - "itemtype", - "items_id" - ] - }, - "Supplier": { - "type": "object", - "x-itemtype": "Supplier", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "object", - "x-itemtype": "SupplierType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SupplierType" - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Fournisseur" - }, - "SupplierType": { - "x-itemtype": "SupplierType", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Type de tiers" - }, - "Systemboard": { - "x-itemtype": "DeviceMotherboard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "designation": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "chipset": { - "type": "string" - }, - "model": { - "type": "object", - "x-itemtype": "DeviceMotherboardModel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SystemboardModel" - } - }, - "description": "Carte m\u00e8re" - }, - "SystemboardItem": { - "x-itemtype": "Item_DeviceMotherboard", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "systemboard": { - "type": "object", - "x-itemtype": "DeviceMotherboard", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "designation": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Systemboard" - } - }, - "description": "Carte m\u00e8re \u00e9l\u00e9ment" - }, - "SystemboardModel": { - "x-itemtype": "DeviceMotherboardModel", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "product_number": { - "type": "string" - } - }, - "description": "Mod\u00e8le de carte m\u00e8re" - }, - "TaskCategory": { - "x-itemtype": "TaskCategory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "is_active": { - "type": "boolean" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "completename": { - "type": "string", - "readOnly": true - }, - "parent": { - "type": "object", - "x-itemtype": "TaskCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TaskCategory" - }, - "level": { - "type": "integer", - "readOnly": true - }, - "is_helpdesk_visible": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Cat\u00e9gorie de t\u00e2ches" - }, - "TaskTemplate": { - "type": "object", - "x-itemtype": "TaskTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "content": { - "type": "string", - "format": "html" - }, - "comment": { - "type": "string" - }, - "category": { - "type": "object", - "x-itemtype": "TaskCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TaskCategory" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "is_private": { - "type": "boolean", - "default": false - }, - "duration": { - "type": "integer" - }, - "state": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": "The state of the task.\n- 0: Information\n- 1: To do\n- 2: Done" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "use_current_user": { - "type": "boolean", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Gabarit de t\u00e2che" - }, - "TeamMember": { - "type": "object", - "description": "The valid types and roles depend on the type of the item they are being added to", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "role": { - "type": "string" - } - } - }, - "Ticket": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "user_recipient": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "is_deleted": { - "type": "boolean" - }, - "category": { - "type": "object", - "x-itemtype": "ITILCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ITILCategory" - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "urgency": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "impact": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "priority": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4, - 5 - ], - "description": "- 1: Very Low\n- 2: Low\n- 3: Medium\n- 4: High\n- 5: Very High" - }, - "actiontime": { - "type": "integer", - "readOnly": true - }, - "begin_waiting_date": { - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "waiting_duration": { - "type": "integer", - "readOnly": true, - "description": "Total waiting duration in seconds" - }, - "resolution_duration": { - "type": "integer", - "readOnly": true, - "description": "Total resolution duration in seconds" - }, - "close_duration": { - "type": "integer", - "readOnly": true, - "description": "Total close duration in seconds" - }, - "resolution_date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_solve": { - "type": "string", - "format": "date-time" - }, - "date_close": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "integer", - "enum": [ - 1, - 2 - ], - "description": "The type of the ticket.\n- 1: Incident\n- 2: Request" - }, - "external_id": { - "type": "string" - }, - "request_type": { - "type": "object", - "x-itemtype": "RequestType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "RequestType" - }, - "take_into_account_date": { - "type": "string", - "format": "date-time" - }, - "take_into_account_duration": { - "type": "integer", - "readOnly": true, - "description": "Total take into account duration in seconds" - }, - "sla_ttr": { - "type": "object", - "x-itemtype": "SLA", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SLA" - }, - "sla_tto": { - "type": "object", - "x-itemtype": "SLA", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SLA" - }, - "ola_ttr": { - "type": "object", - "x-itemtype": "OLA", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OLA" - }, - "ola_tto": { - "type": "object", - "x-itemtype": "OLA", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OLA" - }, - "sla_level_ttr": { - "type": "object", - "x-itemtype": "SlaLevel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SLALevel" - }, - "ola_level_ttr": { - "type": "object", - "x-itemtype": "OlaLevel", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "OLALevel" - }, - "sla_waiting_duration": { - "type": "integer", - "readOnly": true, - "description": "Total SLA waiting duration in seconds" - }, - "ola_waiting_duration": { - "type": "integer", - "readOnly": true, - "description": "Total OLA waiting duration in seconds" - }, - "ola_ttr_begin_date": { - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "ola_tto_begin_date": { - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "internal_resolution_date": { - "type": "string", - "format": "date-time" - }, - "internal_take_into_account_date": { - "type": "string", - "format": "date-time" - }, - "global_validation": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": "The global status of the validation.\n- 1: None\n- 2: Waiting\n- 3: Accepted\n- 4: Refused" - }, - "status": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "enum": [ - 1, - 10, - 2, - 3, - 4, - 5, - 6 - ], - "description": "- 1: Nouveau\n- 10: Validation\n- 2: En cours (Attribu\u00e9)\n- 3: En cours (Planifi\u00e9)\n- 4: En attente\n- 5: R\u00e9solu\n- 6: Clos\n", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "team": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "role": { - "type": "string" - } - }, - "x-full-schema": "TeamMember" - } - }, - "costs": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "TicketCost", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - } - } - } - } - }, - "x-itemtype": "Ticket", - "description": "Ticket" - }, - "TicketCost": { - "x-itemtype": "TicketCost", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "ticket": { - "type": "object", - "x-itemtype": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Ticket" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_end": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "integer", - "format": "int32" - }, - "cost_time": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "cost_fixed": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "cost_material": { - "type": "number", - "format": "float", - "minimum": 0 - }, - "budget": { - "type": "object", - "x-itemtype": "Budget", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Budget" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - } - }, - "description": "Co\u00fbt" - }, - "TicketSatisfaction": { - "x-itemtype": "TicketSatisfaction", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "ticket": { - "type": "object", - "x-itemtype": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Ticket" - }, - "type": { - "type": "integer", - "enum": [ - 1, - 2 - ], - "description": " The type of satisfaction survey.\n - 1: Internal\n - 2: External" - }, - "date_begin": { - "type": "string", - "format": "date-time" - }, - "date_answered": { - "type": "string", - "format": "date-time" - }, - "rating": { - "type": "integer", - "description": "The rating given in the satisfaction survey. The maximum value depends on the entity configuration.", - "minimum": 1 - }, - "rating_scaled_5": { - "type": "number", - "description": "The rating scaled to a 5-point scale.", - "minimum": 1, - "maximum": 5 - }, - "comment": { - "type": "string", - "description": "The comment provided in the satisfaction survey. May be required depending on the given rating and the entity configuration." - } - }, - "description": "Satisfaction" - }, - "TicketTask": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "uuid": { - "type": "string", - "format": "\/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$\/i", - "readOnly": true - }, - "content": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "is_private": { - "type": "boolean" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_editor": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "group_tech": { - "type": "object", - "x-itemtype": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Group" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "integer" - }, - "planned_begin": { - "type": "string", - "format": "date-time" - }, - "planned_end": { - "type": "string", - "format": "date-time" - }, - "state": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": "The state of the task.\n- 0: Information\n- 1: To do\n- 2: Done" - }, - "category": { - "type": "object", - "x-itemtype": "TaskCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "TaskCategory" - }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" - }, - "tickets_id": { - "type": "integer", - "format": "int64" - }, - "source_item_id": { - "type": "integer", - "format": "int64" - }, - "source_of_item_id": { - "type": "integer", - "format": "int64" - } - }, - "x-itemtype": "TicketTask", - "description": "T\u00e2che d'un ticket" - }, - "TicketTemplate": { - "x-itemtype": "TicketTemplate", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - } - }, - "description": "Gabarit de ticket" - }, - "TicketValidation": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "requester": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "approver": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "requested_approver_type": { - "type": "string", - "enum": [ - "User", - "Group" - ] - }, - "requested_approver_id": { - "type": "integer", - "format": "int64" - }, - "submission_comment": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "approval_comment": { - "type": "string", - "format": "html", - "x-supports-mentions": true - }, - "status": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": "The status of the validation.\n- 1: None\n- 2: Waiting\n- 3: Accepted\n- 4: Refused" - }, - "submission_date": { - "type": "string", - "format": "date-time" - }, - "approval_date": { - "type": "string", - "format": "date-time" - }, - "timeline_position": { - "type": "number", - "enum": [ - -1, - 0, - 1, - 2, - 3, - 4 - ], - "description": "The position in the timeline.\n- 0: No timeline\n- 1: Not set\n- 2: Left\n- 3: Mid left\n- 4: Mid right\n- 5: Right" - }, - "tickets_id": { - "type": "integer", - "format": "int64" - } - }, - "x-itemtype": "TicketValidation", - "description": "Validations du ticket" - }, - "Ticket_Item": { - "x-itemtype": "Item_Ticket", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "ticket": { - "type": "object", - "x-itemtype": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Ticket" - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - } - }, - "description": "\u00c9l\u00e9ment associ\u00e9 au ticket" - }, - "Ticket_Ticket": { - "x-itemtype": "Ticket_Ticket", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "ticket_1": { - "type": "object", - "x-itemtype": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Ticket" - }, - "ticket_2": { - "type": "object", - "x-itemtype": "Ticket", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Ticket" - }, - "link": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "description": " The type of link between the two tickets.\n - 1: Linked to\n - 2: Duplicate of\n - 3: Child of\n - 4: Parent of" - } - }, - "description": "Ticket li\u00e9" - }, - "USBVendor": { - "type": "object", - "x-itemtype": "USBVendor", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "vendorid": { - "type": "string" - }, - "deviceid": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Fournisseur USB" - }, - "Unmanaged": { - "type": "object", - "x-itemtype": "Unmanaged", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "status": { - "type": "object", - "x-itemtype": "State", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "State" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "completename": { - "type": "string" - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "manufacturer": { - "type": "object", - "x-itemtype": "Manufacturer", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Manufacturer" - }, - "user": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "user_tech": { - "type": "object", - "x-itemtype": "User", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "User" - }, - "contact": { - "type": "string" - }, - "contact_num": { - "type": "string" - }, - "serial": { - "type": "string" - }, - "otherserial": { - "type": "string" - }, - "is_deleted": { - "type": "boolean" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "group": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "group_tech": { - "type": "array", - "items": { - "type": "object", - "x-full-schema": "Group", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "name": { - "type": "string" - } - } - } - }, - "network": { - "type": "object", - "x-itemtype": "Network", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "autoupdatesystem": { - "type": "object", - "x-itemtype": "AutoUpdateSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "AutoUpdateSystem" - }, - "is_dynamic": { - "type": "boolean", - "default": false - }, - "sysdescr": { - "type": "string" - }, - "agent": { - "type": "object", - "x-itemtype": "Agent", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Agent" - }, - "itemtype": { - "type": "string", - "maxLength": 100 - }, - "accepted": { - "type": "boolean" - }, - "is_hub": { - "type": "boolean" - }, - "ip": { - "type": "string" - }, - "snmp_credential": { - "type": "object", - "x-itemtype": "SNMPCredential", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "SNMPCredential" - }, - "last_inventory_update": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "Actif non g\u00e9r\u00e9" - }, - "User": { - "x-itemtype": "User", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "username": { - "type": "string", - "description": "Username" - }, - "realname": { - "type": "string", - "description": "Real name" - }, - "firstname": { - "type": "string", - "description": "First name" - }, - "phone": { - "type": "string", - "description": "Phone number" - }, - "phone2": { - "type": "string", - "description": "Phone number 2" - }, - "mobile": { - "type": "string", - "description": "Mobile phone number" - }, - "emails": { - "type": "array", - "description": "Email addresses", - "items": { - "type": "object", - "x-full-schema": "EmailAddress", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID" - }, - "email": { - "type": "string", - "description": "Email address" - }, - "is_default": { - "type": "boolean", - "description": "Is default" - }, - "is_dynamic": { - "type": "boolean", - "description": "Is dynamic" - } - } - } - }, - "comment": { - "type": "string", - "description": "Comment" - }, - "is_active": { - "type": "boolean", - "description": "Is active" - }, - "is_deleted": { - "type": "boolean", - "description": "Is deleted" - }, - "password": { - "type": "string", - "format": "password", - "description": "Password", - "writeOnly": true - }, - "password2": { - "type": "string", - "format": "password", - "description": "Password confirmation", - "writeOnly": true - }, - "picture": { - "type": "string", - "readOnly": true - }, - "date_password_change": { - "type": "string", - "format": "date-time", - "description": "Date of last password change", - "readOnly": true - }, - "location": { - "type": "object", - "x-itemtype": "Location", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Location" - }, - "authtype": { - "type": "number", - "enum": [ - 1, - 2, - 3, - 4, - 5, - 6 - ], - "description": " - 1: GLPI database\n - 2: Email\n - 3: LDAP\n - 4: External\n - 5: CAS\n - 6: X.509 Certificate" - }, - "last_login": { - "type": "string", - "format": "date-time" - }, - "default_profile": { - "type": "object", - "x-itemtype": "Profile", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Profile", - "description": "Default profile" - }, - "default_entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity", - "description": "Default entity" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "date_sync": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "title": { - "type": "object", - "x-itemtype": "UserTitle", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "UserTitle" - }, - "category": { - "type": "object", - "x-itemtype": "UserCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "UserCategory" - }, - "registration_number": { - "type": "string" - }, - "begin_date": { - "type": "string", - "format": "date-time", - "description": "Valid since" - }, - "end_date": { - "type": "string", - "format": "date-time", - "description": "Valid until" - }, - "nickname": { - "type": "string", - "maxLength": 50 - }, - "substitution_start_date": { - "type": "string", - "format": "date-time" - }, - "substitution_end_date": { - "type": "string", - "format": "date-time" - } - }, - "description": "Utilisateur" - }, - "UserCategory": { - "x-itemtype": "UserCategory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Cat\u00e9gorie d'utilisateur" - }, - "UserPreferences": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "User ID", - "readOnly": true - }, - "language": { - "type": "string", - "description": "Language code (POSIX compliant format e.g. en_US or fr_FR)" - }, - "use_mode": { - "type": "number", - "enum": [ - 0, - 2 - ], - "description": " - 0: Normal mode\n - 2: Debug mode" - }, - "list_limit": { - "type": "integer", - "min": 5, - "multipleOf": 5 - }, - "date_format": { - "type": "string", - "enum": [ - 0, - 1, - 2 - ], - "description": " - 0: YYYY-MM-DD\n - 1: DD-MM-YYYY\n - 2: MM-DD-YYYY" - }, - "number_format": { - "type": "string", - "enum": [ - 0, - 1, - 2, - 3, - 4 - ], - "description": " - 0: 1 234.56\n - 1: 1,234.56\n - 2: 1 234,56,\n - 3: 1234.56\n - 4: 1234,56" - }, - "name_format": { - "type": "string", - "enum": [ - 0, - 1 - ], - "description": " - 0: Surname First name\n - 1: First name Surname" - }, - "csv_delimiter": { - "type": "string", - "enum": [ - ";", - "," - ] - }, - "is_ids_visible": { - "type": "boolean" - }, - "use_flat_dropdowntree": { - "type": "boolean", - "description": "Display the tree dropdown complete name in dropdown inputs" - }, - "use_flat_dropdowntree_on_search_result": { - "type": "boolean", - "description": "Display the complete name of tree dropdown in search results" - }, - "show_new_tickets_on_home": { - "type": "boolean", - "description": "Show new tickets on the home page" - }, - "priority_color_verylow": { - "type": "string", - "description": "Hex color code for very low priority", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "priority_color_low": { - "type": "string", - "description": "Hex color code for low priority", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "priority_color_medium": { - "type": "string", - "description": "Hex color code for medium priority", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "priority_color_high": { - "type": "string", - "description": "Hex color code for high priority", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "priority_color_veryhigh": { - "type": "string", - "description": "Hex color code for very high priority", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "priority_color_major": { - "type": "string", - "description": "Hex color code for major priority", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "private_followups_by_default": { - "type": "boolean", - "description": "Private followups by default" - }, - "private_tasks_by_default": { - "type": "boolean", - "description": "Private tasks by default" - }, - "default_requesttype": { - "type": "object", - "x-itemtype": "RequestType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "RequestType" - }, - "show_count_on_tabs": { - "type": "boolean", - "description": "Show counters on tabs" - }, - "refresh_view_interval": { - "type": "integer", - "description": "Auto-refresh interval for tickets list, kanbans, and dashboards in minutes", - "min": 0, - "max": 30 - }, - "set_default_tech": { - "type": "boolean", - "description": "Pre-select me as a technician when creating a ticket" - }, - "set_default_requester": { - "type": "boolean", - "description": "Pre-select me as a requester when creating a ticket" - }, - "set_followup_tech": { - "type": "boolean", - "description": "Add me as a technician when adding a ticket followup" - }, - "set_solution_tech": { - "type": "boolean", - "description": "Add me as a technician when adding a ticket solution" - }, - "home_list_limit": { - "type": "integer", - "min": 0, - "max": 30, - "description": "Results to display on home page" - }, - "notification_to_myself": { - "type": "boolean", - "description": "Notifications for my changes" - }, - "duedate_color_ok": { - "type": "string", - "description": "Hex color code for on-time due dates", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "duedate_color_warning": { - "type": "string", - "description": "Hex color code for warning due dates", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "duedate_color_critical": { - "type": "string", - "description": "Hex color code for overdue due dates", - "pattern": "\/^#([A-Fa-f0-9]{6})$\/" - }, - "duedate_threshold_warning": { - "type": "integer" - }, - "duedate_threshold_warning_unit": { - "type": "string", - "enum": [ - "%", - "hours", - "days" - ] - }, - "duedate_threshold_critical": { - "type": "integer" - }, - "duedate_threshold_critical_unit": { - "type": "string", - "enum": [ - "%", - "hours", - "days" - ] - }, - "pdf_font": { - "type": "string", - "description": "PDF export font", - "enum": [ - "aealarabiya", - "aefurat", - "cid0cs", - "cid0ct", - "cid0jp", - "cid0kr", - "courier", - "dejavusans", - "dejavusanscondensed", - "dejavusansextralight", - "dejavusansmono", - "dejavuserif", - "dejavuserifcondensed", - "freemono", - "freesans", - "freeserif", - "helvetica", - "hysmyeongjostdmedium", - "kozgopromedium", - "kozminproregular", - "msungstdlight", - "pdfacourier", - "pdfahelvetica", - "pdfasymbol", - "pdfatimes", - "pdfazapfdingbats", - "stsongstdlight", - "symbol", - "times", - "zapfdingbats" - ] - }, - "keep_devices_when_purging_item": { - "type": "boolean", - "description": "Keep linked devices when purging an item" - }, - "show_new_item_after_creation": { - "type": "boolean", - "description": "Go to created item after creation" - }, - "default_task_state": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": " Default state for new tasks\n - 1: Information\n - 2: To do\n - 3: Done" - }, - "default_task_state_planned": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": " Default state for new planned tasks\n - 1: Information\n - 2: To do\n - 3: Done" - }, - "palette": { - "type": "string", - "description": "Color palette\/theme", - "enum": [ - "aerialgreen", - "auror", - "auror_dark", - "automn", - "classic", - "clockworkorange", - "dark", - "darker", - "flood", - "greenflat", - "hipster", - "icecream", - "lightblue", - "midnight", - "premiumred", - "purplehaze", - "teclib", - "vintage", - "novahe", - "plugin_branding_1" - ] - }, - "page_layout": { - "type": "string", - "enum": [ - "horizontal", - "vertical" - ] - }, - "timeline_order": { - "type": "integer", - "enum": [ - "natural", - "reverse" - ], - "description": " - 0: Natural order (oldest first)\n - 1: Reverse order (newest first)" - }, - "richtext_layout": { - "type": "string", - "enum": [ - "inline", - "classic" - ], - "description": " - inline: Toolbar displays at the cursor position and some options in right-click menu\n - classic: Toolbar displays at the top of the text area" - }, - "autolock_mode": { - "type": "boolean", - "description": "Automatically lock items when editing" - }, - "directunlock_notification": { - "type": "boolean", - "description": "Direct Notification (requester for unlock will be the notification sender)" - }, - "highcontrast_css": { - "type": "boolean", - "description": "Enable high contrast" - }, - "default_homepage_tab": { - "type": "integer", - "enum": [ - 0, - 1, - 2, - 3, - 4 - ], - "description": " Default homepage tab\n - 0: Dashboard\n - 1: Personal view\n - 2: Group view\n - 3: Global view\n - 4: RSS feeds" - }, - "toast_location": { - "type": "string", - "enum": [ - "top-left", - "top-right", - "bottom-left", - "bottom-right" - ], - "description": "Location for toast notifications" - }, - "timeline_action_button_layout": { - "type": "integer", - "enum": [ - 0, - 1 - ], - "description": " Timeline action buttons layout\n - 0: Merged\n - 1: Split" - }, - "timeline_date_format": { - "type": "integer", - "enum": [ - 0, - 1 - ], - "description": " Timeline date format\n - 0: Relative (e.g. \"2 hours ago\")\n - 1: Absolute (e.g. \"2025-01-01 14:00\")" - }, - "default_is_notifications_enabled": { - "type": "boolean", - "description": "Enable notifications by default. If disabled, notifications on tickets, change and problems can be optionally enabled as needed but other items will not send notifications at all" - }, - "show_search_form": { - "type": "boolean", - "description": "Show search form above results" - }, - "search_pagination_on_top": { - "type": "boolean", - "description": "Show search pagination above results" - }, - "timezone": { - "type": "string", - "maxLength": 50 - } - } - }, - "UserTitle": { - "x-itemtype": "UserTitle", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "ID", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Titre d'utilisateur" - }, - "ValidationTemplate": { - "type": "object", - "x-itemtype": "ITILValidationTemplate", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "content": { - "type": "string", - "format": "html" - }, - "comment": { - "type": "string" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean", - "default": false - }, - "approval_step": { - "type": "object", - "x-itemtype": "ValidationStep", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "ApprovalStep" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Gabarit de validation" - }, - "VirtualMachine": { - "x-itemtype": "ItemVirtualMachine", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "state": { - "type": "object", - "x-itemtype": "VirtualMachineState", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "VirtualMachineState" - }, - "system": { - "type": "object", - "x-itemtype": "VirtualMachineSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "VirtualMachineModel" - }, - "type": { - "type": "object", - "x-itemtype": "VirtualMachineType", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "VirtualMachineType" - }, - "uuid": { - "type": "string" - }, - "vcpu": { - "type": "integer", - "format": "int32" - }, - "ram": { - "type": "integer", - "format": "int32" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Virtualisation" - }, - "VirtualMachineModel": { - "type": "object", - "x-itemtype": "VirtualMachineSystem", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le de virtualisation" - }, - "VirtualMachineState": { - "type": "object", - "x-itemtype": "VirtualMachineState", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "\u00c9tat de machine virtuelle" - }, - "VirtualMachineType": { - "type": "object", - "x-itemtype": "VirtualMachineType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string" - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Syst\u00e8me de virtualisation" - }, - "Volume": { - "x-itemtype": "Item_Disk", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "itemtype": { - "type": "string" - }, - "items_id": { - "type": "integer", - "format": "int64" - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "device": { - "type": "string", - "description": "The device\/partition path, e.g. \/dev\/sda1", - "maxLength": 255 - }, - "mount_point": { - "type": "string", - "description": "The mount point of the volume, e.g. \/home", - "maxLength": 255 - }, - "filesystem": { - "type": "object", - "x-itemtype": "Filesystem", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Filesystem" - }, - "total_size": { - "type": "integer", - "format": "int64" - }, - "free_size": { - "type": "integer", - "format": "int64" - }, - "is_deleted": { - "type": "boolean" - }, - "is_dynamic": { - "type": "boolean" - }, - "encryption_status": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "description": " Encryption status of the volume:\n - 0: No encryption\n - 1: Fully encrypted\n - 2: Partially encrypted" - }, - "encryption_tool": { - "type": "string", - "maxLength": 255 - }, - "encryption_algorithm": { - "type": "string", - "maxLength": 255 - }, - "encryption_type": { - "type": "string", - "maxLength": 255 - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Volume" - }, - "Webhook": { - "x-itemtype": "Webhook", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "category": { - "type": "object", - "x-itemtype": "WebhookCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "WebhookCategory" - }, - "itemtype": { - "type": "string", - "maxLength": 255 - }, - "event": { - "type": "string", - "maxLength": 255 - }, - "payload": { - "type": "string" - }, - "use_default_payload": { - "type": "boolean", - "description": "If true, the entire JSON output from the API for the item will be used" - }, - "custom_headers": { - "type": "string", - "description": "JSON encoded object containing custom headers to add to the webhook request. The header names and values are Twig templates that can use any property of the item as a variable." - }, - "url": { - "type": "string", - "description": "The URL to send the webhook request to. This is a Twig template that can use any property of the item as a variable." - }, - "secret": { - "type": "string", - "description": "A secret value that can be shared with a target server to allow it to validate requests are actually coming from the GLPI server and that the content was not modified between GLPI and the target." - }, - "use_cra_challenge": { - "type": "boolean", - "description": "Whether to use a Challenge-Response Authentication mechanism to validate the target server.", - "default": false - }, - "http_method": { - "type": "string", - "enum": [ - "POST", - "GET", - "PUT", - "PATCH" - ], - "default": "POST" - }, - "sent_try": { - "type": "integer", - "default": 0, - "description": "The number of times this webhook will try to be sent." - }, - "is_active": { - "type": "boolean", - "default": false - }, - "save_response_body": { - "type": "boolean", - "description": "If true and if response saving is globally allowed (disabled by default), the response body of the webhook request will be saved in the queued webhook data. This is only intended for debugging purposes.", - "default": false - }, - "log_in_item_history": { - "type": "boolean", - "description": "Whether to log webhook calls in the related item's history.", - "default": false - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - }, - "use_oauth": { - "type": "boolean", - "description": "Whether to use OAuth 2.0 authentication when sending the webhook request.", - "default": false - }, - "oauth_url": { - "type": "string", - "description": "The URL to obtain the OAuth 2.0 access token.", - "maxLength": 255 - }, - "clientid": { - "type": "string", - "description": "The OAuth 2.0 client ID.", - "maxLength": 255 - }, - "clientsecret": { - "type": "string", - "description": "The OAuth 2.0 client secret.", - "maxLength": 255, - "writeOnly": true - } - }, - "description": "Webhook" - }, - "WebhookCategory": { - "x-itemtype": "WebhookCategory", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "completename": { - "type": "string", - "maxLength": 1024, - "readOnly": true - }, - "comment": { - "type": "string" - }, - "parent": { - "type": "object", - "x-itemtype": "WebhookCategory", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "WebhookCategory" - }, - "level": { - "type": "integer", - "readOnly": true - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Cat\u00e9gorie du webhook" - }, - "WifiNetwork": { - "type": "object", - "x-itemtype": "WifiNetwork", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "entity": { - "type": "object", - "x-itemtype": "Entity", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - }, - "x-full-schema": "Entity" - }, - "is_recursive": { - "type": "boolean" - }, - "name": { - "type": "string", - "maxLength": 255 - }, - "essid": { - "type": "string", - "maxLength": 255 - }, - "mode": { - "type": "string", - "maxLength": 255 - }, - "comment": { - "type": "string" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "R\u00e9seau wifi" - } - } - }, - "paths": { - "\/": { - "get": { - "tags": [], - "responses": { - "200": { - "description": "API information", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/APIInformation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "API Homepage. Displays the available API versions and a list of available routes. When logged in, more routes are displayed.", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/doc": { - "get": { - "tags": [], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Displays the API documentation as a Swagger UI HTML page.", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/doc.json": { - "get": { - "tags": [], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the OpenAPI JSON schema.", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/getting-started": { - "get": { - "tags": [], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Displays the general API documentation to get started.", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/{req}": { - "get": { - "tags": [], - "responses": { - "200": { - "description": "Never returned", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "404": { - "description": "No route found for the requested path", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "A fallback for when no other endpoint matches the request. A 404 error will be shown.", - "parameters": [ - { - "name": "req", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": ".*" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [], - "responses": { - "200": { - "description": "Never returned", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "404": { - "description": "No route found for the requested path", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "A fallback for when no other endpoint matches the request. A 404 error will be shown.", - "parameters": [ - { - "name": "req", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": ".*" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [], - "responses": { - "200": { - "description": "Never returned", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "404": { - "description": "No route found for the requested path", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "A fallback for when no other endpoint matches the request. A 404 error will be shown.", - "parameters": [ - { - "name": "req", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": ".*" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "put": { - "tags": [], - "responses": { - "200": { - "description": "Never returned", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "404": { - "description": "No route found for the requested path", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "A fallback for when no other endpoint matches the request. A 404 error will be shown.", - "parameters": [ - { - "name": "req", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": ".*" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [], - "responses": { - "200": { - "description": "Never returned", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "404": { - "description": "No route found for the requested path", - "content": { - "application\/json": { - "schema": [] - } - } - }, - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "A fallback for when no other endpoint matches the request. A 404 error will be shown.", - "parameters": [ - { - "name": "req", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": ".*" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "options": { - "tags": [], - "responses": { - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "A global route that enables the OPTIONS method on all endpoints. This responds with an Accept header indicating which methods are allowed.", - "parameters": [ - { - "name": "req", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": ".*" - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/session": { - "get": { - "tags": [ - "Session" - ], - "responses": { - "200": { - "description": "The session information", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Session" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get information about the session", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/authorize": { - "get": { - "tags": [ - "Session" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Authorize the API client using the authorization code grant type.", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Session" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Authorize the API client using the authorization code grant type.", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/token": { - "post": { - "tags": [ - "Session" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an OAuth 2.0 token", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/swagger-oauth-redirect": { - "get": { - "tags": [ - "Session" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/status": { - "get": { - "tags": [ - "Status" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a list of all GLPI system status checker services.", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "status" - ] - } - ] - } - }, - "\/status\/all": { - "get": { - "tags": [ - "Status" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "status": { - "type": "string", - "format": "string", - "enum": [ - "OK", - "WARNING", - "PROBLEM", - "NO_DATA" - ] - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the the status of all GLPI system status checker services", - "parameters": [ - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "status" - ] - } - ] - } - }, - "\/status\/{service}": { - "get": { - "tags": [ - "Status" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "status": { - "type": "string", - "format": "string", - "enum": [ - "OK", - "WARNING", - "PROBLEM", - "NO_DATA" - ] - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the status of a GLPI system status checker service. Use \"all\" as the service to get the full system status.", - "parameters": [ - { - "name": "service", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "status" - ] - } - ] - } - }, - "\/Transfer": { - "post": { - "tags": [], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Transfer one or more items to another entity", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EntityTransferRecord" - } - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Session\/EntityTree": { - "get": { - "tags": [ - "Session" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the entity tree for the current session, with the active entity selected and its ancestors expanded.", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/locales": { - "get": { - "tags": [ - "Localization" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the localization strings", - "parameters": [ - { - "name": "domain", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all available asset types", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Global": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CommonAsset" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CommonAsset" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CommonAsset" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of all types", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Computer" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Computer" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Computer" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Computer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Monitor" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Monitor" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Monitor" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Monitor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Peripheral" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Peripheral" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Peripheral" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Peripheral" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Phone" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Phone" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Phone" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Phone" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Printer" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Printer" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Printer" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Printer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Appliance" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Appliance" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Appliance" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Computer" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Computer" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Computer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Computer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Computer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Monitor" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Monitor" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Monitor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Monitor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Monitor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Peripheral" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Peripheral" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Peripheral" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Peripheral" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Peripheral" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Phone" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Phone" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Phone" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Phone" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Phone" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Printer" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Printer" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Printer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Printer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Printer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareLicense" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Unmanaged" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cartridge\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/CartridgeItem\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Consumable\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/ConsumableItem\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Rack\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Enclosure\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PDU\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PassiveDCEquipment\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cable\/{id}\/Infocom": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Infocom", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Infocom" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete the financial and administration information for a specific asset", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cartridge": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search cartridge models", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new cartridge model", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cartridge\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing cartridge model", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated CartridgeItem", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing cartridge model", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a cartridge model", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cartridge\/{cartridgeitems_id}\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cartridge" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Cartridge" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Cartridge" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Cartridge", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cartridgeitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Cartridge", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cartridge" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Cartridge", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cartridgeitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cartridge" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Cartridge", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cartridgeitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cartridge\/{cartridgeitems_id}": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Cartridge", - "parameters": [ - { - "name": "cartridgeitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cartridge" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Consumable": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search consumables models", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new consumable model", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Consumable\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing consumable model", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated ConsumableItem", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing consumable model", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a consumable model", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Consumable\/{consumableitems_id}\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Consumable" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Consumable" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Consumable" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Consumable", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "consumableitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Consumable", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Consumable" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Consumable", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "consumableitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Consumable" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Consumable", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "consumableitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Consumable\/{consumableitems_id}": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Consumable", - "parameters": [ - { - "name": "consumableitems_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Consumable" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Software" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Software" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Software" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Softwares", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Software", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Software" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Software" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Software" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Software" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Software", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Software", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Software" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Software", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Software" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Software", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Rack": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rack" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rack" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rack" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Racks", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Rack", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rack" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Rack\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rack" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rack" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rack" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Rack", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Rack", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rack" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Rack", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rack" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Rack", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Rack\/{rack_id}\/Item": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RackItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RackItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RackItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for items in a rack", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "rack_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an item to a rack", - "parameters": [ - { - "name": "rack_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RackItem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Rack\/{rack_id}\/Item\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RackItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RackItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RackItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing rack item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "rack_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RackItem", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RackItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing rack item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "rack_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RackItem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Remove an item from a rack", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "rack_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Enclosure": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Enclosure" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Enclosure" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Enclosure" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Enclosures", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Enclosure", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Enclosure" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Enclosure\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Enclosure" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Enclosure" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Enclosure" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Enclosure", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Enclosure", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Enclosure" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Enclosure", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Enclosure" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Enclosure", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PDU": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PDU" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PDU" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PDU" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for PDUs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new PDU", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PDU" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PDU\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PDU" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PDU" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PDU" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing PDU", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PDU", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PDU" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing PDU", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PDU" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a PDU", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PassiveDCEquipment": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search passive DC equipment", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new passive DC equipment", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PassiveDCEquipment\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing passive DC equipment", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PassiveDCEquipment", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing passive DC equipment", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PassiveDCEquipment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a passive DC equipment", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cable": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Cable" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Cable" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Cable" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Cables", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Cable", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cable" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Cable\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cable" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Cable" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Cable" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Cable", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Cable", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cable" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Cable", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cable" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Cable", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Socket": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Socket" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Socket" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Socket" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Sockets", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Socket", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Socket" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Socket\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Socket" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Socket" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Socket" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Socket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Socket", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Socket" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Socket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Socket" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Socket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{software_id}\/Version": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software versions", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "software_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new software version", - "parameters": [ - { - "name": "software_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{software_id}\/Version\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software version", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "software_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareVersion", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software version", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "software_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareVersion" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software version", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "software_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/{asset_itemtype}\/{asset_id}\/OSInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an operating system to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OSInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OSInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search operating systems installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/{asset_itemtype}\/{asset_id}\/OSInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OSInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/OSInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/OSInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing operating system installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated OSInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OSInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing operating system installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OSInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an operating system installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/SoftwareInstallation": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a software version to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search software installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/SoftwareInstallation\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated SoftwareInstallation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing software installation by the installation ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoftwareInstallation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a software installation by the installation ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Antivirus": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add an antivirus to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search antiviruses installed on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Antivirus\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Antivirus", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing antivirus by the antivirus ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Antivirus" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an antivirus by the antivirus ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/VirtualMachine": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a virtual machine or container to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search virtual machines and containers on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/VirtualMachine\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing virtual machine or container by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated VirtualMachine", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing virtual machine or container by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachine" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a virtual machine or container by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/PeripheralConnection": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Connect a peripheral to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search peripherals connected to an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/PeripheralConnection\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing peripheral connection by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated PeripheralConnection", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing peripheral connection by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralConnection" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a peripheral connection by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/RemoteManagement": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add remote management configuration to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search remote management configurations on an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/RemoteManagement\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing remote management configuration by ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated RemoteManagement", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing remote management configuration by the ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RemoteManagement" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a remote management configuration by the ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Appliance": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link an appliance to an asset", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Appliance\/{id}": { - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink an appliance from an asset by the link ID", - "parameters": [ - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Appliance_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing appliance link by the link ID", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Domain": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Certificate": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Certificate": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Certificate": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Certificate": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Certificate": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Certificate": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Certificate": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Project": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a project to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Project\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific project link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Line": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a line to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search line links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Line": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a line to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search line links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Line": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a line to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search line links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Line": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a line to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search line links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Line": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a line to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search line links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Line\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Line", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Line\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Line", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Line\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Line", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Line\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Line", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Line\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Item_Line", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific line link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/KBArticle": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/DCRoom\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Rack\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Enclosure\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PDU\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Contract": { - "post": { - "tags": [ - "Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Software\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/DCRoom\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Rack\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Enclosure\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/PDU\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all available custom asset types", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/servers": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/storagearrays": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/enclosures": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/PDUs": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom assets of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/servers\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_servers" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/storagearrays\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearrays" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/enclosures\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosures" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/PDUs\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUs" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/serversModel": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset model of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/storagearraysModel": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset model of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/enclosuresModel": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset model of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/PDUsModel": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset model of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/serversModel\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Model", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/storagearraysModel\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Model", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/enclosuresModel\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Model", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/PDUsModel\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Model", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset model of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/serversType": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset type of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/storagearraysType": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset type of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/enclosuresType": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset type of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/PDUsType": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search custom asset models of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Custom Assets" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new custom asset type of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/serversType\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Type", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_serversType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/storagearraysType\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Type", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_storagearraysType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/enclosuresType\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Type", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_enclosuresType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Custom\/PDUsType\/{id}": { - "get": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Custom Assets" - ], - "responses": { - "200": { - "description": "The updated CustomAsset_{itemtype}Type", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CustomAsset_PDUsType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Custom Assets" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a custom asset type of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all available component types", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Battery": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Battery" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Battery" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Battery" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Camera": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Camera" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Camera" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Camera" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Case": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Case" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Case" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Case" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Controller": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Controller" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Controller" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Controller" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Drive": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Drive" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Drive" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Drive" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Firmware": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Firmware" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Firmware" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Firmware" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GenericDevice": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GraphicCard": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/HardDrive": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDrive" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDrive" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDrive" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDrive" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Memory": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Memory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Memory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Memory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Memory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/NetworkCard": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PCIDevice": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PowerSupply": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Processor": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Processor" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Processor" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Processor" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Processor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Sensor": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SIMCard": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCard" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SoundCard": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Systemboard": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the component definitions of the specified type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new component definition of the specified type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Battery\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Battery" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Camera\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Camera" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Case\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Case" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Controller\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Controller" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Drive\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Drive" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Firmware\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Firmware" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GenericDevice\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDevice" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GraphicCard\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/HardDrive\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDrive" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/HardDrive" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/HardDrive" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDrive" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDrive" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Memory\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Memory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Memory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Memory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Memory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Memory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/NetworkCard\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PCIDevice\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDevice" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PowerSupply\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupply" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Processor\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Processor" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Processor" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Processor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Processor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Processor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Sensor\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Sensor" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Sensor" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Sensor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SIMCard\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCard" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCard" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SoundCard\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Systemboard\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "The updated {component_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Systemboard" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a component definition of the specified type", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Battery\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Camera\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Case\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Controller\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Drive\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Firmware\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GenericDevice\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GraphicCard\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/HardDrive\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Memory\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/NetworkCard\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PCIDevice\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PowerSupply\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Processor\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Sensor\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SIMCard\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SoundCard\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Systemboard\/{id}\/Items": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for the components of a specific component definition", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Battery\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Camera\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CameraItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Case\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CaseItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CaseItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Controller\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Drive\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DriveItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DriveItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Firmware\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GenericDevice\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/GraphicCard\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/HardDrive\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Memory\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/NetworkCard\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PCIDevice\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/PowerSupply\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Processor\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Sensor\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SensorItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SensorItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SIMCard\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/SoundCard\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Components\/Systemboard\/Items\/{id}": { - "get": { - "tags": [ - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific component", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Battery": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BatteryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Camera": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Case": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CaseItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Controller": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ControllerItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Drive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Firmware": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FirmwareItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/GenericDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GenericDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/GraphicCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/GraphicCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/HardDrive": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Memory": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MemoryItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/NetworkCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/PCIDevice": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIDeviceItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/PowerSupply": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PowerSupplyItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Processor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProcessorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Sensor": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SensorItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/SIMCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SIMCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/SoundCard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SoundCardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{id}\/Component\/Systemboard": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SystemboardItem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all components for an asset", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Volume": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search all volumes for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Computer\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Monitor\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/NetworkEquipment\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Peripheral\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Phone\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Printer\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/SoftwareLicense\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Certificate\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Unmanaged\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assets\/Appliance\/{asset_id}\/Volume\/{id}": { - "get": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "200": { - "description": "The updated Volume", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Volume" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assets", - "Components" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a volume for an asset", - "parameters": [ - { - "name": "asset_id", - "description": "The ID of the Asset", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Ticket" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Ticket" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Ticket" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search Tickets, Changes or Problems", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new new Ticket, Change or Problem", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Ticket" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Change" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Change" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Change" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search Tickets, Changes or Problems", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new new Ticket, Change or Problem", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Change" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Problem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Problem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Problem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search Tickets, Changes or Problems", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new new Ticket, Change or Problem", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Problem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Ticket" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Ticket" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Ticket" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Ticket" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Ticket" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Change" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Change" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Change" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Change" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Change" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Problem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Problem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Problem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Problem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Problem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Followup": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Followup": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Followup": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Document": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Document": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Document": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Solution": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Solution": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Solution": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all timeline items of a specific type for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new timeline item for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Task": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all tasks for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Task": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all tasks for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Task": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all tasks for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Validation": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all validations for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Validation": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all validations for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Followup\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Followup\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Followup\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Followup" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Document\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Document\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Document\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Solution\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Solution\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Solution\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing specific timeline item by type and ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {subitem_type}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Solution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a timeline item by ID for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Task\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketTask" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/TicketTask" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Task", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Task\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Task", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Timeline\/Task\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Task", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a task for a Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Timeline\/Validation\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Validation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketValidation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Timeline\/Validation\/{subitem_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Validation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeValidation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a validation for a Ticket or Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "subitem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/TeamMember": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the team members for a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a team member to a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "format": "string", - "enum": [ - "User", - "Group", - "Supplier" - ] - }, - "id": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Remove a team member from a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/TeamMember": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the team members for a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a team member to a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "format": "string", - "enum": [ - "User", - "Group", - "Supplier" - ] - }, - "id": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Remove a team member from a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/TeamMember": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the team members for a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a team member to a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "format": "string", - "enum": [ - "User", - "Group", - "Supplier" - ] - }, - "id": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Remove a team member from a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/TeamMember\/{role}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the team members by role for specific Ticket, Change, Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "role", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/TeamMember\/{role}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the team members by role for specific Ticket, Change, Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "role", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/TeamMember\/{role}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the team members by role for specific Ticket, Change, Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "role", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "type": "string", - "format": "string", - "enum": [ - "requester", - "assigned", - "observer" - ] - } - } - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/RecurringTicket": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for RecurringTickets", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new RecurringTicket", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/RecurringTicket\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing RecurringTicket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated RecurringTicket", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing RecurringTicket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringTicket" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a RecurringTicket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/RecurringChange": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for RecurringChanges", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new RecurringChange", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/RecurringChange\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing RecurringChange", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated RecurringChange", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing RecurringChange", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RecurringChange" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a RecurringChange", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/ExternalEvent": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for ExternalEvents", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new ExternalEvent", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/ExternalEvent\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing ExternalEvent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated ExternalEvent", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing ExternalEvent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalEvent" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a ExternalEvent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Cost": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketCost" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketCost" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TicketCost" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the costs for a specific Ticket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new cost for a specific Ticket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Cost": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the costs for a specific Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new cost for a specific Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Cost": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the costs for a specific Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new cost for a specific Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/Cost\/{cost_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketCost" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/TicketCost" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/TicketCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific cost by ID for a specific Ticket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Cost", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific cost by ID for a specific Ticket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TicketCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific cost by ID for a specific Ticket", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/Cost\/{cost_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific cost by ID for a specific Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Cost", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific cost by ID for a specific Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ChangeCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific cost by ID for a specific Change", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/Cost\/{cost_id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific cost by ID for a specific Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated {itemtype}Cost", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific cost by ID for a specific Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProblemCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific cost by ID for a specific Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{assistance_id}\/KBArticle": { - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{assistance_id}\/KBArticle": { - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{assistance_id}\/KBArticle": { - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{assistance_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{assistance_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{assistance_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "assistance_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/PlanningReminder": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PlanningReminder" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PlanningReminder" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PlanningReminder" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for PlanningReminders", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/PlanningReminder\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PlanningReminder" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PlanningReminder" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PlanningReminder" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing PlanningReminder", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/PendingReason": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PendingReason" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PendingReason" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PendingReason" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for PendingReasons", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Assistance" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new PendingReason", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/PendingReason\/{id}": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing PendingReason", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "The updated PendingReason", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing PendingReason", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Assistance" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a PendingReason", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Ticket\/{id}\/PendingReason": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the pending reason for a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Change\/{id}\/PendingReason": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the pending reason for a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Problem\/{id}\/PendingReason": { - "get": { - "tags": [ - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PendingReason_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the pending reason for a specific Ticket, Change or Problem", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/User" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/User" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/User" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Users", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new User", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Group": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Group" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Group" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Group" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Groups", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Group", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Entity": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Entity" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Entity" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Entity" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Entities", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Entity", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Profile": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Profile" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Profile" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Profile" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Profiles", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Profile", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/Me": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the current user", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "user" - ] - } - ] - } - }, - "\/Administration\/User\/Me\/Email": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the current user's email addresses", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "user" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new email address for the current user", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "string" - }, - "is_default": { - "type": "boolean", - "format": "boolean", - "default": false - } - } - } - } - } - }, - "security": [ - { - "oauth": [ - "user" - ] - } - ] - } - }, - "\/Administration\/User\/Me\/Email\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific email address for the current user", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "user" - ] - } - ] - } - }, - "\/Administration\/User\/Me\/Emails\/Default": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAddress" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the default email address for the current user", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "user", - "email" - ] - } - ] - } - }, - "\/Administration\/User\/Me\/Picture": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the picture for the current user", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "user" - ] - } - ] - } - }, - "\/Administration\/User\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing User", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated User", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing User", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a User", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/username\/{username}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing User", - "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated User", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing User", - "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/User" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a User", - "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/{id}\/Picture": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the picture for the current user", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/username\/{username}\/Picture": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the picture for the current user", - "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/Me\/UsedItem": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the used items for the current user", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "user" - ] - } - ] - } - }, - "\/Administration\/User\/{id}\/UsedItem": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the used items for a user", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/username\/{username}\/UsedItem": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the used items for a user by username", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/Me\/ManagedItem": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the managed items for the current user", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "user" - ] - } - ] - } - }, - "\/Administration\/User\/{id}\/ManagedItem": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the managed items for a user", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/username\/{username}\/ManagedItem": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the managed items for a user by username", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Group\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Group", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated Group", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Group", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Group" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Group", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Entity\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Entity", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated Entity", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Entity", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Entity" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Entity", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Profile\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Profile", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated Profile", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Profile", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Profile" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Profile", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/{id}\/Preference": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing UserPreferences", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated UserPreferences", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing UserPreferences", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/Me\/Preference": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing UserPreferences", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated UserPreferences", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing UserPreferences", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/{username}\/Preference": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing UserPreferences", - "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated UserPreferences", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing UserPreferences", - "parameters": [ - { - "name": "username", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "[a-zA-Z0-9_]+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserPreferences" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/EventLog": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EventLog" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EventLog" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EventLog" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for EventLogs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/EventLog\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventLog" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/EventLog" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/EventLog" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing EventLog", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/UserCategory": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/UserCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/UserCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/UserCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for UserCategorys", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new UserCategory", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/UserTitle": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for UserTitles", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new UserTitle", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/ApprovalSubstitute": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for ApprovalSubstitutes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new ApprovalSubstitute", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/UserCategory\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/UserCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/UserCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing UserCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing UserCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a UserCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/UserTitle\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing UserTitle", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing UserTitle", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/UserTitle" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a UserTitle", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/ApprovalSubstitute\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalSubstitute" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing ApprovalSubstitute", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a ApprovalSubstitute", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/{users_id}\/Certificate": { - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "users_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "users_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/User\/{users_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "users_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "users_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "users_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Entity\/{items_id}\/KBArticle": { - "post": { - "tags": [ - "Administration" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Administration\/Entity\/{items_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Administration" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Administration" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all available management types", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Document\/{id}\/Download": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/octet-stream": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Download a document", - "parameters": [ - { - "name": "HTTP_IF_NONE_MATCH", - "description": "", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "HTTP_IF_MODIFIED_SINCE", - "description": "", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Budget": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Budget" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Budget" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Budget" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Budget" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Cluster": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Cluster" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Cluster" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Cluster" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cluster" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Contact": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contact" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contact" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contact" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contact" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Contract": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Database": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Database" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Database" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Database" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Database" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DataCenter": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Document": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Domain": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/License": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/License" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/License" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/License" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/License" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Line": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Line" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Line" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Line" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Supplier": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DomainRecord": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search management items", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new management item", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Budget\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Budget" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Budget" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Budget" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Budget" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Budget" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Cluster\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cluster" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Cluster" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Cluster" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cluster" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Cluster" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Contact\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contact" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contact" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contact" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contact" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contact" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Contract\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Database\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Database" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Database" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Database" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Database" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Database" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DataCenter\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DataCenter" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DataCenter" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DataCenter" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Document\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Document" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Domain\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/License\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/License" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/License" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/License" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/License" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/License" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Line\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Line" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Line" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Line" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Line" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Supplier\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Supplier" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Supplier" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Supplier" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstance" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DomainRecord\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecord" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a management item", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Contract\/{id}\/Cost": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContractCost" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContractCost" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContractCost" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the costs for a specific Contract", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new cost for a specific Contract", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Contract\/{id}\/Cost\/{cost_id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractCost" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ContractCost" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ContractCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific cost by ID for a specific Contract", - "parameters": [ - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated ContractCost", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific cost by ID for a specific Contract", - "parameters": [ - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific cost by ID for a specific Contract", - "parameters": [ - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance\/{items_id}\/Domain": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Database\/{items_id}\/Domain": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a domain to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search domain links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance\/{items_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Database\/{items_id}\/Domain\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific domain link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Domain_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific domain link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Domain_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific domain link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Domain\/{items_id}\/Certificate": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance\/{items_id}\/Certificate": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a certificate to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search certificate links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Domain\/{items_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance\/{items_id}\/Certificate\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific certificate link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Certificate_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific certificate link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Certificate_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific certificate link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Budget\/{items_id}\/KBArticle": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Budget\/{items_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Line\/{items_id}\/Contract": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Cluster\/{items_id}\/Contract": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Domain\/{items_id}\/Contract": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance\/{items_id}\/Contract": { - "post": { - "tags": [ - "Management" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Line\/{items_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Cluster\/{items_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/Domain\/{items_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Management\/DatabaseInstance\/{items_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Management" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Management" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Projects", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Project", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{id}": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Project", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "The updated Project", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Project", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Project", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Task": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project tasks", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new project task", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Task\/{id}": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a project task by ID", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "The updated ProjectTask", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing project task", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a project task", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/Task": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search project tasks", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new project task", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTask" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Project\/{id}\/Cost": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the costs for a specific Project", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new cost for a specific Project", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Project\/{id}\/Cost\/{cost_id}": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific cost by ID for a specific Project", - "parameters": [ - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "The updated ProjectCost", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific cost by ID for a specific Project", - "parameters": [ - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectCost" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific cost by ID for a specific Project", - "parameters": [ - { - "name": "cost_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Project\/{items_id}\/KBArticle": { - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a KB article to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search KB article links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Project\/{items_id}\/KBArticle\/{id}": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific KB article link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "The updated KBArticle_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific KB article link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific KB article link", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Project\/{items_id}\/Contract": { - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Assign a contract to an item", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search contract links", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Project\/{items_id}\/Contract\/{id}": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "The updated Contract_Item", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Contract_Item" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a specific contract link", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/Ticket": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search tickets linked to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link a ticket to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/Ticket\/{ticket_id}": { - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink a ticket from the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "ticket_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/Change": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search changes linked to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link a change to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/Change\/{change_id}": { - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink a change from the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "change_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/Problem": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search problems linked to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Link a problem to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITIL_Project" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/Problem\/{problem_id}": { - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Unlink a problem from the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "problem_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/TeamMember": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search team members linked to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a team member to the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTeamMember" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{project_id}\/TeamMember\/{teammember_id}": { - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Remove a team member from the project", - "parameters": [ - { - "name": "project_id", - "description": "Project ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "string", - "pattern": "\\d+" - } - }, - { - "name": "teammember_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Task\/{task_id}\/TeamMember": { - "get": { - "tags": [ - "Project" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search team members linked to a task", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Project" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Add a team member to a task", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTaskTeamMember" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/Task\/{task_id}\/TeamMember\/{teammember_id}": { - "delete": { - "tags": [ - "Project" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Remove a team member from a task", - "parameters": [ - { - "name": "task_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "teammember_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all available dropdown types", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Location": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Location" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Location" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Location" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Location" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/State": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/State" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/State" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/State" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Manufacturer": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Calendar": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Calendar" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Calendar" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Calendar" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Calendar" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/WifiNetwork": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkPortFiberchannelType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DatabaseInstanceCategory": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DatabaseInstanceType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ITILCategory": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/TaskCategory": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/RequestType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/EventCategory": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/USBVendor": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PCIVendor": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DenyList": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DeniedMailContent": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CloseTime": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CloseTime" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CloseTime" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CloseTime" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CloseTime" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/BusinessCriticity": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DocumentCategory": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DocumentType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DocumentType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/VirtualMachineType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/VirtualMachineModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/VirtualMachineState": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CableType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CableStrand": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/AutoUpdateSystem": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/FollowupTemplate": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/TaskTemplate": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/SolutionTemplate": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ValidationTemplate": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/SolutionType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ApprovalStep": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ComputerModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ComputerType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ComputerType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ComputerType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ComputerType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/MonitorModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/MonitorType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MonitorType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MonitorType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/MonitorType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkEquipmentModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkEquipmentType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PeripheralModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PeripheralType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PhoneModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PhoneType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhoneType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhoneType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhoneType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PrinterModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PrinterType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PrinterType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PrinterType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PrinterType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/EnclosureModel": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ApplianceType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/BudgetType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BudgetType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BudgetType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/BudgetType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BudgetType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CartridgeItemType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CertificateType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CertificateType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CertificateType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CertificateType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CertificateType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ClusterType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ClusterType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ClusterType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ClusterType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ClusterType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ContactType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContactType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContactType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContactType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContactType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ContractType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContractType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContractType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ContractType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ConsumableItemType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DomainRecordType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DomainType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/LineType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LineType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LineType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LineType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LineType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkPortType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ProjectTaskType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ProjectType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ProjectType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/LicenseType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LicenseType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LicenseType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LicenseType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LicenseType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/SupplierType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SupplierType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SupplierType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SupplierType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SupplierType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/HardDriveType": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Filesystem": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Filesystem" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Filesystem" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Filesystem" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Filesystem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ApplianceEnvironment": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Network": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Network" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Network" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Network" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Network" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DomainRelation": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Stencil": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Stencil" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Stencil" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Stencil" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Stencil" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CameraImageFormat": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CameraImageResolution": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CalendarCloseTime": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CalendarTimeRange": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Plug": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Plug" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Plug" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Plug" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Plug" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Item_Plug": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PhonePowerSupply": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search dropdowns of a specific type", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Dropdowns" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a dropdown of a specific type", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Location\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Location" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Location" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Location" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Location" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Location" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/State\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/State" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Manufacturer\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Manufacturer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Calendar\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Calendar" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Calendar" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Calendar" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Calendar" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Calendar" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/WifiNetwork\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WifiNetwork" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkPortFiberchannelType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortFiberchannelType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DatabaseInstanceCategory\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DatabaseInstanceType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DatabaseInstanceType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ITILCategory\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ITILCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/TaskCategory\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/RequestType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RequestType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RequestType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RequestType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/EventCategory\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EventCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/USBVendor\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/USBVendor" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/USBVendor" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/USBVendor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PCIVendor\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PCIVendor" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DenyList\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DenyList" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DenyList" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DenyList" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DeniedMailContent\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DeniedMailContent" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CloseTime\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CloseTime" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CloseTime" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CloseTime" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CloseTime" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CloseTime" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/BusinessCriticity\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BusinessCriticity" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DocumentCategory\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DocumentType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DocumentType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/VirtualMachineType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/VirtualMachineModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/VirtualMachineState\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/VirtualMachineState" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CableType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CableType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CableType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CableStrand\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableStrand" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CableStrand" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CableStrand" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/AutoUpdateSystem\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/AutoUpdateSystem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/FollowupTemplate\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FollowupTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/TaskTemplate\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/TaskTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/SolutionTemplate\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ValidationTemplate\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ValidationTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/SolutionType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SolutionType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ApprovalStep\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApprovalStep" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ComputerModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ComputerType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ComputerType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/MonitorModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/MonitorType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/MonitorType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkEquipmentModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkEquipmentType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkEquipmentType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PeripheralModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PeripheralType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PeripheralType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PhoneModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PhoneType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhoneType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PrinterModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PrinterType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PrinterType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/EnclosureModel\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EnclosureModel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ApplianceType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/BudgetType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BudgetType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/BudgetType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/BudgetType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BudgetType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/BudgetType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CartridgeItemType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CartridgeItemType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CertificateType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CertificateType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CertificateType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CertificateType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CertificateType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CertificateType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ClusterType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ClusterType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ClusterType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ClusterType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ClusterType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ClusterType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ContactType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContactType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ContactType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ContactType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContactType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContactType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ContractType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ContractType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ContractType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ContractType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ConsumableItemType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ConsumableItemType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DomainRecordType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRecordType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DomainType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DomainType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DomainType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/LineType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LineType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/LineType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/LineType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LineType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LineType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/NetworkPortType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NetworkPortType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ProjectTaskType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectTaskType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ProjectType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ProjectType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/LicenseType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LicenseType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/LicenseType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/LicenseType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LicenseType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LicenseType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/SupplierType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SupplierType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SupplierType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SupplierType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SupplierType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SupplierType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/HardDriveType\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/HardDriveType" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Filesystem\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Filesystem" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Filesystem" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Filesystem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Filesystem" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Filesystem" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/ApplianceEnvironment\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ApplianceEnvironment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Network\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Network" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Network" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Network" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Network" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Network" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/DomainRelation\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/DomainRelation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Stencil\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Stencil" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Stencil" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Stencil" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Stencil" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Stencil" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CameraImageFormat\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageFormat" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CameraImageResolution\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CameraImageResolution" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CalendarCloseTime\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarCloseTime" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/CalendarTimeRange\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/CalendarTimeRange" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Plug\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Plug" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Plug" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Plug" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Plug" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Plug" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/Item_Plug\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Item_Plug" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Dropdowns\/PhonePowerSupply\/{id}": { - "get": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Dropdowns" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/PhonePowerSupply" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Dropdowns" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a dropdown of a specific type", - "parameters": [ - { - "name": "id", - "description": "The ID of the dropdown item", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/GraphQL\/": { - "post": { - "tags": [ - "GraphQL" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "GraphQL API", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "graphql" - ] - } - ] - } - }, - "\/GraphQL\/Schema": { - "get": { - "tags": [ - "GraphQL" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "GraphQL API Schema", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "graphql" - ] - } - ] - } - }, - "\/Assistance\/Stat": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/StatReport" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/StatReport" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/StatReport" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List available assistance statistics", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Ticket\/Global": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get global assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Change\/Global": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get global assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Problem\/Global": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/GlobalStats" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get global assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Ticket\/Characteristics": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Change\/Characteristics": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Problem\/Characteristics": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ITILStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Ticket\/Characteristics\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Change\/Characteristics\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Problem\/Characteristics\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Ticket\/Asset": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics by asset", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Change\/Asset": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics by asset", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Problem\/Asset": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics by asset", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Ticket\/Asset\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics by asset", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Change\/Asset\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics by asset", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Problem\/Asset\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics by asset", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Ticket\/AssetCharacteristics": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics by asset characteristics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The characteristic field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Change\/AssetCharacteristics": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics by asset characteristics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The characteristic field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Problem\/AssetCharacteristics": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AssetCharacteristicsStats" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get assistance statistics by asset characteristics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The characteristic field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Ticket\/AssetCharacteristics\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics by asset characteristics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Change\/AssetCharacteristics\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics by asset characteristics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Assistance\/Stat\/Problem\/AssetCharacteristics\/Export": { - "get": { - "tags": [ - "Statistics", - "Assistance" - ], - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Export assistance statistics by asset characteristics", - "parameters": [ - { - "name": "date_start", - "description": "The start date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "date_end", - "description": "The end date of the statistics", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date" - }, - "example": "2024-01-30" - }, - { - "name": "field", - "description": "The field to group the statistics by", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "Accept", - "description": "The format to export the statistics to", - "in": "header", - "required": false, - "schema": { - "type": "string", - "format": "string", - "enum": [ - "text\/csv", - "application\/vnd.oasis.opendocument.spreadsheet", - "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - "application\/pdf" - ] - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "List of rule collections", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "format": "string" - }, - "rule_type": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "format": "string" - }, - "rule_type": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "format": "string" - }, - "rule_type": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List all rule collections", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/CriteriaCondition": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCondition" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"condition\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/CriteriaCriteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteriaCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"criteria\" values for criteria for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/ActionType": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionType" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"action_type\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/ActionField": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleActionField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List accepted \"field\" values for actions for rules in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search rules in a collection", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a rule in a collection", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated Rule", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a rule in a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule\/{id}\/Criteria": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get criteria for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Criteria\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific criterion for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleCriteria", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule\/{id}\/Action": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get actions for a rule from a collection", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Action\/{id}": { - "get": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get a specific action for a rule from a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Rule" - ], - "responses": { - "200": { - "description": "The updated RuleAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Rule" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Criteria": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a criterion for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleCriteria" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/DefineItemtype\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportAsset\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/ImportEntity\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Location\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/MailCollector\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Right\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/SoftwareCategory\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Ticket\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Change\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Problem\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/Asset\/Rule\/{rule_id}\/Action": { - "post": { - "tags": [ - "Rule" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create an action for a rule in a collection", - "parameters": [ - { - "name": "rule_id", - "description": "Rule ID", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RuleAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Tools\/": { - "get": { - "tags": [ - "Tools" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all available tool types", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Tools\/Reminder": { - "get": { - "tags": [ - "Tools" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Reminder" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Reminder" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Reminder" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Reminders", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Tools" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Reminder", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Reminder" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Tools\/RSSFeed": { - "get": { - "tags": [ - "Tools" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for RSSFeeds", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Tools" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new RSSFeed", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Tools\/Reminder\/{id}": { - "get": { - "tags": [ - "Tools" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Reminder" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Reminder" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Reminder" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Reminder", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Tools" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Reminder" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Reminder", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Reminder" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Tools" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Reminder", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Tools\/RSSFeed\/{id}": { - "get": { - "tags": [ - "Tools" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing RSSFeed", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Tools" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing RSSFeed", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/RSSFeed" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Tools" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a RSSFeed", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemtype": { - "type": "string", - "format": "string" - }, - "name": { - "type": "string", - "format": "string" - }, - "href": { - "type": "string", - "format": "string" - } - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get all available setup types", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/LDAPDirectory": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for LDAPDirectorys", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new LDAPDirectory", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/SLM": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLM" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLM" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLM" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for SLMs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new SLM", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLM" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/SLA": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLA" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLA" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLA" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for SLAs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new SLA", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLA" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/SLALevel": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLALevel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLALevel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SLALevel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for SLALevels", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new SLALevel", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLALevel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/OLA": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OLA" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OLA" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OLA" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for OLAs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new OLA", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLA" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/OLALevel": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OLALevel" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OLALevel" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OLALevel" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for OLALevels", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new OLALevel", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLALevel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/EmailAuthServer": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for EmailAuthServers", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new EmailAuthServer", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/FieldUnicity": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for FieldUnicitys", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new FieldUnicity", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/LDAPDirectoryReplicate": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for LDAPDirectoryReplicates", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new LDAPDirectoryReplicate", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/EmailCollector": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for EmailCollectors", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new EmailCollector", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/ExternalLink": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for ExternalLinks", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new ExternalLink", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/ManualLink": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ManualLink" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ManualLink" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/ManualLink" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for ManualLinks", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new ManualLink", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ManualLink" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Webhook": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Webhook" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Webhook" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Webhook" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Webhooks", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Webhook", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Webhook" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/WebhookCategory": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for WebhookCategorys", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new WebhookCategory", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/QueuedWebhook": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for QueuedWebhooks", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new QueuedWebhook", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/OAuthClient": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for OAuthClients", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new OAuthClient", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/LDAPDirectory\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing LDAPDirectory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing LDAPDirectory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a LDAPDirectory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/SLM\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLM" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SLM" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SLM" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing SLM", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLM" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing SLM", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLM" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a SLM", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/SLA\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLA" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SLA" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SLA" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing SLA", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLA" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing SLA", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLA" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a SLA", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/SLALevel\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLALevel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SLALevel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SLALevel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing SLALevel", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLALevel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing SLALevel", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SLALevel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a SLALevel", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/OLA\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLA" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/OLA" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/OLA" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing OLA", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLA" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing OLA", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLA" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a OLA", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/OLALevel\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLALevel" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/OLALevel" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/OLALevel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing OLALevel", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLALevel" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing OLALevel", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OLALevel" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a OLALevel", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/EmailAuthServer\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing EmailAuthServer", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing EmailAuthServer", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailAuthServer" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a EmailAuthServer", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/FieldUnicity\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing FieldUnicity", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing FieldUnicity", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/FieldUnicity" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a FieldUnicity", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/LDAPDirectoryReplicate\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing LDAPDirectoryReplicate", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing LDAPDirectoryReplicate", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LDAPDirectoryReplicate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a LDAPDirectoryReplicate", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/EmailCollector\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing EmailCollector", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing EmailCollector", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/EmailCollector" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a EmailCollector", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/ExternalLink\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing ExternalLink", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing ExternalLink", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ExternalLink" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a ExternalLink", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/ManualLink\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ManualLink" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/ManualLink" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/ManualLink" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing ManualLink", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ManualLink" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing ManualLink", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/ManualLink" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a ManualLink", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Webhook\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Webhook" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Webhook" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Webhook" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Webhook", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Webhook" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Webhook", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Webhook" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Webhook", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/WebhookCategory\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing WebhookCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing WebhookCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/WebhookCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a WebhookCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/QueuedWebhook\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing QueuedWebhook", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing QueuedWebhook", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedWebhook" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a QueuedWebhook", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/OAuthClient\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing OAuthClient", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing OAuthClient", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/OAuthClient" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a OAuthClient", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Config\/{context}\/{name}": { - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated Config", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Config", - "parameters": [ - { - "name": "context", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "name", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Config" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Config", - "parameters": [ - { - "name": "context", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "name", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Config", - "parameters": [ - { - "name": "context", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "name", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Config": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Config" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Config" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Config" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Configs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Config\/{context}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Config" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Config" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Config" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Configs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "context", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/AutomaticAction\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/AutomaticAction" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/AutomaticAction" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/AutomaticAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing AutomaticAction", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "The updated AutomaticAction", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/AutomaticAction" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing AutomaticAction", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/AutomaticAction" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/AutomaticAction\/{id}\/Log": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutomaticActionLog" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutomaticActionLog" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/AutomaticActionLog" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for AutomaticActionLogs", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Plugin": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Plugin" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Plugin" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Plugin" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Plugins", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Plugin\/{id}\/Enable": { - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Enable a plugin", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Plugin\/{id}\/Disable": { - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Disable a plugin", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Plugin\/{id}\/Install": { - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Install a plugin", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Plugin\/{id}\/Uninstall": { - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Uninstall a plugin", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/Plugin\/{id}\/Clean": { - "post": { - "tags": [ - "Setup" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Clean a plugin (delete its metadata from the database)", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/NotImportedEmail": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotImportedEmail" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotImportedEmail" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotImportedEmail" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for NotImportedEmails", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Setup\/NotImportedEmail\/{id}": { - "get": { - "tags": [ - "Setup" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotImportedEmail" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NotImportedEmail" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NotImportedEmail" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing NotImportedEmail", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Setup" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a NotImportedEmail", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Entity\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Line\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Peripheral\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Cluster\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/DomainRecord\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Enclosure\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/DCRoom\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Computer\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Printer\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Supplier\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/SoftwareLicense\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Certificate\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/ConsumableItem\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Budget\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/CartridgeItem\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rack\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Phone\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Change\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/NetworkEquipment\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Appliance\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Problem\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Database\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Contact\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Domain\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Software\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/ProjectTask\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/DatabaseInstance\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Group\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Monitor\/{items_id}\/Note": { - "post": { - "tags": [ - "Notes" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notes", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Entity\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Line\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Peripheral\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Cluster\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Project\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/DomainRecord\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Enclosure\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/DCRoom\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Computer\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Printer\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Supplier\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/SoftwareLicense\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Certificate\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/ConsumableItem\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Budget\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/CartridgeItem\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rack\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Phone\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Change\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/NetworkEquipment\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Appliance\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Problem\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Database\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Contact\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Domain\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Software\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/ProjectTask\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/DatabaseInstance\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Group\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Monitor\/{items_id}\/Note\/{id}": { - "get": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notes" - ], - "responses": { - "200": { - "description": "The updated Note", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Note" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notes" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Note", - "parameters": [ - { - "name": "items_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article": { - "post": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new KBArticle", - "parameters": [ - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for KBArticles", - "parameters": [ - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article\/{article_id}": { - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing KBArticle", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "The updated KBArticle", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing KBArticle", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticle" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a KBArticle", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Category": { - "post": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new KBCategory", - "parameters": [ - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for KBCategories", - "parameters": [ - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Category\/{id}": { - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBCategory" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBCategory" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing KBCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "The updated KBCategory", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing KBCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBCategory" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a KBCategory", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article\/{article_id}\/Comment": { - "post": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new KBArticleComment", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for KBArticleComments", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article\/{article_id}\/Comment\/{id}": { - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing KBArticleComment", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "The updated KBArticleComment", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing KBArticleComment", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleComment" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a KBArticleComment", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article\/{article_id}\/Revision": { - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for KBArticleRevisions", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article\/{article_id}\/Revision\/{revision}": { - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing KBArticleRevision", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article\/{article_id}\/{language}\/Revision": { - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for KBArticleRevisions", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Knowledgebase\/Article\/{article_id}\/{language}\/Revision\/{revision}": { - "get": { - "tags": [ - "Knowledgebase" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/KBArticleRevision" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing KBArticleRevision", - "parameters": [ - { - "name": "article_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/Agent": { - "get": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Agent" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Agent" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Agent" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Agents", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/LockedField": { - "get": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LockedField" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LockedField" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/LockedField" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for LockedFields", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Inventory" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new LockedField", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LockedField" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/SNMPCredential": { - "get": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for SNMPCredentials", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Inventory" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new SNMPCredential", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/Agent\/{id}": { - "get": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Agent" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Agent" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Agent" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Agent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Agent" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Agent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Agent" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Inventory" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Agent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/LockedField\/{id}": { - "get": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LockedField" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/LockedField" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/LockedField" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing LockedField", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LockedField" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing LockedField", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/LockedField" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Inventory" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a LockedField", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/SNMPCredential\/{id}": { - "get": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing SNMPCredential", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "The updated {itemtype}", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing SNMPCredential", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/SNMPCredential" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Inventory" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a SNMPCredential", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/Agent\/{id}\/InventoryRequest": { - "post": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "answer": { - "type": "string", - "format": "string" - } - } - } - } - } - }, - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Request inventory from an agent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/Agent\/{id}\/StatusRequest": { - "post": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "answer": { - "type": "string", - "format": "string" - } - } - } - } - } - }, - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Request status from an agent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Inventory\/Agent\/{id}\/InventoryFile": { - "get": { - "tags": [ - "Inventory" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/octet-stream": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get the last inventory file sent by the agent", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/QueuedNotification": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/QueuedNotification" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/QueuedNotification" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/QueuedNotification" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for QueuedNotifications", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/QueuedNotification\/{id}": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedNotification" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedNotification" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/QueuedNotification" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing QueuedNotification", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/QueuedNotification\/{id}\/SendRequest": { - "post": { - "tags": [ - "Notifications" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Request to send a queued notification", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/Notification": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Notification" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Notification" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Notification" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notifications", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Notifications" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new Notification", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Notification" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/Notification\/{id}": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Notification" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Notification" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Notification" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Notification", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "The updated Notification", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Notification" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing Notification", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Notification" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notifications" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Notification", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/Notification\/{notification_id}\/Recipient": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationRecipient" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationRecipient" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationRecipient" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for NotificationRecipients", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "notification_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Notifications" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new NotificationRecipient", - "parameters": [ - { - "name": "notification_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationRecipient" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/Notification\/{notification_id}\/Recipient\/{id}": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationRecipient" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationRecipient" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationRecipient" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing NotificationRecipient", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "notification_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notifications" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a NotificationRecipient", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "notification_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/NotificationTemplate": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for NotificationTemplates", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Notifications" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new NotificationTemplate", - "parameters": [ - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/NotificationTemplate\/{id}": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing NotificationTemplate", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "The updated NotificationTemplate", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing NotificationTemplate", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplate" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notifications" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a NotificationTemplate", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/NotificationTemplate\/{template_id}\/Translation": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for NotificationTemplateTranslations", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "template_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "post": { - "tags": [ - "Notifications" - ], - "responses": { - "201": { - "description": "Success (created)", - "headers": { - "Location": { - "description": "The URL of the newly created resource", - "schema": { - "type": "string" - } - } - }, - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "href": { - "type": "string" - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Create a new NotificationTemplateTranslation", - "parameters": [ - { - "name": "template_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/NotificationTemplate\/{template_id}\/Translation\/{id}": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing NotificationTemplateTranslation", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "template_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "patch": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "The updated NotificationTemplateTranslation", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Update an existing NotificationTemplateTranslation", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "template_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notifications" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a NotificationTemplateTranslation", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "template_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/NotificationTemplate\/{template_id}\/Translation\/{language}": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing NotificationTemplateTranslation", - "parameters": [ - { - "name": "template_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "language", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "\\w+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/NotificationTemplate\/{template_id}\/Translation\/Default": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/NotificationTemplateTranslation" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing NotificationTemplateTranslation", - "parameters": [ - { - "name": "template_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/Notification\/{notification_id}\/NotificationTemplate": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" - } - } - }, - "text\/csv": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" - } - } - }, - "application\/xml": { - "schema": { - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "List or search for Notification_NotificationTemplates", - "parameters": [ - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "notification_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - }, - "delete": { - "tags": [ - "Notifications" - ], - "responses": { - "204": { - "description": "Success (no content)" - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Delete a Notification_NotificationTemplate", - "parameters": [ - { - "name": "notification_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Notifications\/Notification\/{notification_id}\/NotificationTemplate\/{id}": { - "get": { - "tags": [ - "Notifications" - ], - "responses": { - "200": { - "description": "", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" - } - }, - "text\/csv": { - "schema": { - "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" - } - }, - "application\/xml": { - "schema": { - "$ref": "#\/components\/schemas\/Notification_NotificationTemplate" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "description": "Get an existing Notification_NotificationTemplate", - "parameters": [ - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "notification_id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "French_FR": { - "value": "fr_FR", - "summary": "French (France)" - }, - "Portuguese_BR": { - "value": "pt_BR", - "summary": "Portuguese (Brazil)" - } - } - } - ], - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - } - } -} \ No newline at end of file